Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bugfix: {}-blocks not always workable (_placeholderNoValueFound issue)

git-svn-id: svn://dklab.ru/lib/DbSimple/trunk@216 78bb956b-1e24-0410-b8d0-c528fdc9eae3
  • Loading branch information...
commit 27f639420e5745b1247190cb7400969fc009cd5b 1 parent 749573a
dk authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/DbSimple/Generic.php
View
3  lib/DbSimple/Generic.php
@@ -718,6 +718,7 @@ function _expandPlaceholders(&$queryAndArgs, $useNative=false)
$query = array_pop($this->_placeholderArgs); // array_pop is faster than array_shift
// Do all the work.
+ $this->_placeholderNoValueFound = false;
$query = $this->_expandPlaceholdersFlow($query);
if ($useNative) {
@@ -1148,7 +1149,7 @@ function DbSimple_Generic_Database()
var $_logger = null;
var $_cacher = null;
var $_placeholderArgs, $_placeholderNativeArgs, $_placeholderCache=array();
- var $_placeholderNoValueFound = false;
+ var $_placeholderNoValueFound;
/**
* When string representation of row (in characters) is greater than this,
Please sign in to comment.
Something went wrong with that request. Please try again.