summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Data/DataGateway/TDataGatewayCommand.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Data/DataGateway/TDataGatewayCommand.php b/framework/Data/DataGateway/TDataGatewayCommand.php
index 60db80d6..87dd83ef 100644
--- a/framework/Data/DataGateway/TDataGatewayCommand.php
+++ b/framework/Data/DataGateway/TDataGatewayCommand.php
@@ -204,6 +204,8 @@ class TDataGatewayCommand extends TComponent
public function getIndexKeyCondition($table,$fields,$values)
{
+ if (!count($values))
+ return 'FALSE';
$columns = array();
$tableName = $table->getTableFullName();
foreach($fields as $field)