diff options
author | Ciro Mattia Gonano <ciromattia@gmail.com> | 2013-04-24 09:59:46 +0200 |
---|---|---|
committer | Ciro Mattia Gonano <ciromattia@gmail.com> | 2013-04-24 09:59:48 +0200 |
commit | daa4dde508865ef0f08e584987b0695d4847809a (patch) | |
tree | e4aaed56bea63ec5d569fc74ff10f0e36618c50e /framework/Data/SqlMap/Statements/TPreparedCommand.php | |
parent | a08d87f68a22df1ffb001ebe1cc3f438c045b843 (diff) |
Update to 3.2.1
Diffstat (limited to 'framework/Data/SqlMap/Statements/TPreparedCommand.php')
-rw-r--r-- | framework/Data/SqlMap/Statements/TPreparedCommand.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/framework/Data/SqlMap/Statements/TPreparedCommand.php b/framework/Data/SqlMap/Statements/TPreparedCommand.php index e86e096c..59a58b5d 100644 --- a/framework/Data/SqlMap/Statements/TPreparedCommand.php +++ b/framework/Data/SqlMap/Statements/TPreparedCommand.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2013 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Id$ + * @version $Id: TPreparedCommand.php 3245 2013-01-07 20:23:32Z ctrlaltca $ * @package System.Data.SqlMap.Statements */ @@ -17,7 +17,7 @@ Prado::using('System.Data.Common.TDbCommandBuilder'); * TPreparedCommand class. * * @author Wei Zhuo <weizho[at]gmail[dot]com> - * @version $Id$ + * @version $Id: TPreparedCommand.php 3245 2013-01-07 20:23:32Z ctrlaltca $ * @package System.Data.SqlMap.Statements * @since 3.1 */ @@ -47,10 +47,9 @@ class TPreparedCommand protected function applyParameterMap($manager,$command,$prepared, $statement, $parameterObject) { - $properties = $prepared->getParameterNames(false); - //$parameters = $prepared->getParameterValues(); + $properties = $prepared->getParameterNames(); + $parameters = $prepared->getParameterValues(); $registry=$manager->getTypeHandlers(); - if ($properties) for($i = 0, $k=$properties->getCount(); $i<$k; $i++) { $property = $statement->parameterMap()->getProperty($i); |