diff options
author | carlgmathisen <> | 2009-07-27 10:37:40 +0000 |
---|---|---|
committer | carlgmathisen <> | 2009-07-27 10:37:40 +0000 |
commit | e7c45704d8331211d6b38504ba2d755f5d2edc2d (patch) | |
tree | 6eb6b282cedf78c8b1c9af34b07c7bb676104ef8 /framework/Data | |
parent | aec63878c1267f0da719572b41e714582f56636a (diff) |
fixed #166 and added a developer to index.html
Diffstat (limited to 'framework/Data')
-rw-r--r-- | framework/Data/DataGateway/TDataGatewayCommand.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/DataGateway/TDataGatewayCommand.php b/framework/Data/DataGateway/TDataGatewayCommand.php index 7425e6c4..22998033 100644 --- a/framework/Data/DataGateway/TDataGatewayCommand.php +++ b/framework/Data/DataGateway/TDataGatewayCommand.php @@ -232,7 +232,7 @@ class TDataGatewayCommand extends TComponent throw new TDbException('dbtablegateway_missing_pk_values',
$this->getTableInfo()->getTableFullName());
}
- if($count>1 && !is_array($values[0]))
+ if($count>1 && (!isset($values[0]) || !is_array($values[0])))
$values = array($values);
if($count > 1 && count($values[0]) !== $count)
{
|