Ver código fonte

[ZF-12049] Fix undefined variable ($position) in Zend_Db_Statement_Db2::_bindParam

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24625 44c647ce-9c0f-0410-b52a-842ac1e357ba
adamlundrigan 14 anos atrás
pai
commit
e53987af5b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      library/Zend/Db/Statement/Db2.php

+ 1 - 1
library/Zend/Db/Statement/Db2.php

@@ -96,7 +96,7 @@ class Zend_Db_Statement_Db2 extends Zend_Db_Statement
             $datatype = DB2_CHAR;
         }
 
-        if (!db2_bind_param($this->_stmt, $position, "variable", $type, $datatype)) {
+        if (!db2_bind_param($this->_stmt, $parameter, "variable", $type, $datatype)) {
             /**
              * @see Zend_Db_Statement_Db2_Exception
              */