diff options
author | Jean-Luc Gyger <jean-luc.gyger@vysual.ch> | 2015-10-27 22:54:30 +0100 |
---|---|---|
committer | Jean-Luc Gyger <jean-luc.gyger@vysual.ch> | 2015-10-27 22:54:30 +0100 |
commit | 187e70938e2c18b9794b5b87116c1cb6b03901b1 (patch) | |
tree | 1a93f93e35c4cfe85f086714305c1408473cffcf /framework/Data | |
parent | 67f8a9c87ca327619d3469aaae4bc1b0da441628 (diff) |
reset the condition when empty
Diffstat (limited to 'framework/Data')
-rw-r--r-- | framework/Data/DataGateway/TSqlCriteria.php | 2 |
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; } |