Permalink
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...
1 parent 749573a commit 27f639420e5745b1247190cb7400969fc009cd5b dk committed Jul 10, 2007
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/DbSimple/Generic.php
View
@@ -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,

0 comments on commit 27f6394

Please sign in to comment.