summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorctrlaltca <ctrlaltca@gmail.com>2015-11-07 12:45:25 +0100
committerctrlaltca <ctrlaltca@gmail.com>2015-11-07 12:45:25 +0100
commit0749f11251a1bc72a2d24049036e3a24db74cb50 (patch)
treed3b553d85177f984103744d897bbc73c58ac5c32
parent6bea6c78024e0ee7a06a3267b3d434f196cffdc7 (diff)
parent187e70938e2c18b9794b5b87116c1cb6b03901b1 (diff)
Merge pull request #555 from majuca/master
reset the condition when empty
-rw-r--r--framework/Data/DataGateway/TSqlCriteria.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/DataGateway/TSqlCriteria.php b/framework/Data/DataGateway/TSqlCriteria.php
index e62aeccd..aa91889e 100644
--- a/framework/Data/DataGateway/TSqlCriteria.php
+++ b/framework/Data/DataGateway/TSqlCriteria.php
@@ -128,7 +128,7 @@ class TSqlCriteria extends TComponent
{
if(empty($value)) {
// reset the condition
- $this->_condition = '';
+ $this->_condition = null;
return;
}