summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
authorxue <>2007-04-19 01:49:24 +0000
committerxue <>2007-04-19 01:49:24 +0000
commit44a846b6c1989fdbf5f5b921799134ae045769d6 (patch)
tree6f0e3962b6f890058d6c9ee56c09a8981c448e78 /framework/Data
parentd704c8190b8064bfb73fdd3826f34fb00ea63102 (diff)
fixed a typo in TDbCommandBuilder
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/Common/TDbCommandBuilder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/Common/TDbCommandBuilder.php b/framework/Data/Common/TDbCommandBuilder.php
index 2c3578f0..c90b913c 100644
--- a/framework/Data/Common/TDbCommandBuilder.php
+++ b/framework/Data/Common/TDbCommandBuilder.php
@@ -293,7 +293,7 @@ class TDbCommandBuilder extends TComponent
{
$values = array_values($values);
for($i = 0, $max=count($values); $i<$max; $i++)
- $command->bindValue($i+1, $values[$i], $this->getPdoType($value));
+ $command->bindValue($i+1, $values[$i], $this->getPdoType($values[$i]));
}
else
{