diff options
author | ctrlaltca <> | 2013-01-22 22:43:34 +0000 |
---|---|---|
committer | ctrlaltca <> | 2013-01-22 22:43:34 +0000 |
commit | b97ece103198be2ff3dc1a259588fb849266534b (patch) | |
tree | 8def8331c78f4c9fea8da632b0d9ec5378aa4793 /framework/Data/SqlMap/Statements/TPreparedCommand.php | |
parent | 89b713dad11390812873980e8a60c7fc408813f1 (diff) |
merged r3261, r3262 to trunk/
Diffstat (limited to 'framework/Data/SqlMap/Statements/TPreparedCommand.php')
-rw-r--r-- | framework/Data/SqlMap/Statements/TPreparedCommand.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Data/SqlMap/Statements/TPreparedCommand.php b/framework/Data/SqlMap/Statements/TPreparedCommand.php index 4c3a6266..e86e096c 100644 --- a/framework/Data/SqlMap/Statements/TPreparedCommand.php +++ b/framework/Data/SqlMap/Statements/TPreparedCommand.php @@ -47,9 +47,10 @@ class TPreparedCommand protected function applyParameterMap($manager,$command,$prepared, $statement, $parameterObject) { - $properties = $prepared->getParameterNames(); - $parameters = $prepared->getParameterValues(); + $properties = $prepared->getParameterNames(false); + //$parameters = $prepared->getParameterValues(); $registry=$manager->getTypeHandlers(); + if ($properties) for($i = 0, $k=$properties->getCount(); $i<$k; $i++) { $property = $statement->parameterMap()->getProperty($i); |