Commit 86ad14613552df49dfb705cd4984e8fb41810356
1 parent
7cf7f16c
Consistently use iId.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3671 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
3 deletions
lib/ktentity.inc
| ... | ... | @@ -122,7 +122,7 @@ class KTEntity { |
| 122 | 122 | return PEAR::raiseError("No such ID: $iId"); |
| 123 | 123 | } |
| 124 | 124 | if (count($res) > 1) { |
| 125 | - return PEAR::raiseError("Multiple matches for ID: $iID"); | |
| 125 | + return PEAR::raiseError("Multiple matches for ID: $iId"); | |
| 126 | 126 | } |
| 127 | 127 | $vk = array_flip($this->_aFieldToSelect); |
| 128 | 128 | $aLoadInfo = array(); |
| ... | ... | @@ -271,8 +271,8 @@ class KTEntityUtil { |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | 273 | $aRet = array(); |
| 274 | - foreach ($aIDs as $iID) { | |
| 275 | - $aRet[] =& call_user_func(array($sClassName, 'get'), $iID); | |
| 274 | + foreach ($aIDs as $iId) { | |
| 275 | + $aRet[] =& call_user_func(array($sClassName, 'get'), $iId); | |
| 276 | 276 | } |
| 277 | 277 | return $aRet; |
| 278 | 278 | } | ... | ... |