Procházet zdrojové kódy

ZF-11113
Zend_Db
Silence warnings emitted by Zend_Db_Statement_Oracle::_prepare()


git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23917 44c647ce-9c0f-0410-b52a-842ac1e357ba

adamlundrigan před 15 roky
rodič
revize
0736323f8c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      library/Zend/Db/Statement/Oracle.php

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

@@ -87,7 +87,7 @@ class Zend_Db_Statement_Oracle extends Zend_Db_Statement
     protected function _prepare($sql)
     {
         $connection = $this->_adapter->getConnection();
-        $this->_stmt = oci_parse($connection, $sql);
+        $this->_stmt = @oci_parse($connection, $sql);
         if (!$this->_stmt) {
             /**
              * @see Zend_Db_Statement_Oracle_Exception