diff options
author | xue <> | 2007-04-19 01:49:24 +0000 |
---|---|---|
committer | xue <> | 2007-04-19 01:49:24 +0000 |
commit | 44a846b6c1989fdbf5f5b921799134ae045769d6 (patch) | |
tree | 6f0e3962b6f890058d6c9ee56c09a8981c448e78 | |
parent | d704c8190b8064bfb73fdd3826f34fb00ea63102 (diff) |
fixed a typo in TDbCommandBuilder
-rw-r--r-- | framework/Data/Common/TDbCommandBuilder.php | 2 |
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
{
|