Просмотр исходного кода

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 15 лет назад
Родитель
Сommit
0736323f8c
1 измененных файлов с 1 добавлено и 1 удалено
  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