diff options
author | robocoder <anthon.pang@gmail.com> | 2009-11-25 07:50:42 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-11-25 07:50:42 +0300 |
commit | b3e81145346875719956918533bc4b13f49add49 (patch) | |
tree | 06fb3c1f7144c992c949eebcb5deb316d314e19c /libs/Zend/Db/Adapter/Abstract.php | |
parent | a81a4553cc241c56d23b723770f3a12cd5fa13fa (diff) |
sync up with ZendFramework 1.9.6 which fixes ZF-8046
git-svn-id: http://dev.piwik.org/svn/trunk@1607 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/Zend/Db/Adapter/Abstract.php')
-rw-r--r-- | libs/Zend/Db/Adapter/Abstract.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/Zend/Db/Adapter/Abstract.php b/libs/Zend/Db/Adapter/Abstract.php index bd00da96f4..11cb54d896 100644 --- a/libs/Zend/Db/Adapter/Abstract.php +++ b/libs/Zend/Db/Adapter/Abstract.php @@ -17,7 +17,7 @@ * @subpackage Adapter * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Abstract.php 18633 2009-10-17 05:36:58Z ralph $ + * @version $Id: Abstract.php 19115 2009-11-20 17:41:25Z matthew $ */ @@ -902,7 +902,7 @@ abstract class Zend_Db_Adapter_Abstract return str_replace('?', $this->quote($value, $type), $text); } else { while ($count > 0) { - if (strpos($text, '?') != false) { + if (strpos($text, '?') !== false) { $text = substr_replace($text, $this->quote($value, $type), strpos($text, '?'), 1); } --$count; |