From 86ad14613552df49dfb705cd4984e8fb41810356 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Thu, 29 Sep 2005 11:11:30 +0000 Subject: [PATCH] Consistently use iId. --- lib/ktentity.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ktentity.inc b/lib/ktentity.inc index 97724bd..d772d86 100644 --- a/lib/ktentity.inc +++ b/lib/ktentity.inc @@ -122,7 +122,7 @@ class KTEntity { return PEAR::raiseError("No such ID: $iId"); } if (count($res) > 1) { - return PEAR::raiseError("Multiple matches for ID: $iID"); + return PEAR::raiseError("Multiple matches for ID: $iId"); } $vk = array_flip($this->_aFieldToSelect); $aLoadInfo = array(); @@ -271,8 +271,8 @@ class KTEntityUtil { } $aRet = array(); - foreach ($aIDs as $iID) { - $aRet[] =& call_user_func(array($sClassName, 'get'), $iID); + foreach ($aIDs as $iId) { + $aRet[] =& call_user_func(array($sClassName, 'get'), $iId); } return $aRet; } -- libgit2 0.21.4