From e7c45704d8331211d6b38504ba2d755f5d2edc2d Mon Sep 17 00:00:00 2001 From: carlgmathisen <> Date: Mon, 27 Jul 2009 10:37:40 +0000 Subject: fixed #166 and added a developer to index.html --- HISTORY | 1 + framework/Data/DataGateway/TDataGatewayCommand.php | 2 +- index.html | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 23f55d06..8ecffd0d 100644 --- a/HISTORY +++ b/HISTORY @@ -1,4 +1,5 @@ Version 3.1.7 To be released +BUG: Issue#166 - E_NOTICE level error in TDataGatewayCommand (Carl) Version 3.1.6 July 22, 2009 BUG: Issue#98 - Missing file in quickstart demo (Chrisotphe) 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) { diff --git a/index.html b/index.html index c9fb24e7..cc70ea86 100644 --- a/index.html +++ b/index.html @@ -92,6 +92,7 @@ PRADO component tags when you use it to edit PRADO templates.
  • Michael Härtl
  • Eirik Hoem
  • Yves Berkholz
  • +
  • Ole Helgesen
  • Translations

    -- cgit v1.2.3