summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarlgmathisen <>2009-07-27 10:37:40 +0000
committercarlgmathisen <>2009-07-27 10:37:40 +0000
commite7c45704d8331211d6b38504ba2d755f5d2edc2d (patch)
tree6eb6b282cedf78c8b1c9af34b07c7bb676104ef8
parentaec63878c1267f0da719572b41e714582f56636a (diff)
fixed #166 and added a developer to index.html
-rw-r--r--HISTORY1
-rw-r--r--framework/Data/DataGateway/TDataGatewayCommand.php2
-rw-r--r--index.html1
3 files changed, 3 insertions, 1 deletions
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.
<li><a href="mailto:haertl.mike@googlemail.com">Michael Härtl</a></li>
<li><a href="mailto:eirikhm@gmail.com">Eirik Hoem</a></li>
<li><a href="mailto:godzilla80@gmx.net">Yves Berkholz</a></li>
+<li><a href="mailto:kamikazeole@gmail.com">Ole Helgesen</a></li>
</ul>
<h3>Translations</h3>