git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1520 a333f486-631f-4898-b8df-5754b55c2be0
@@ -186,7 +186,8 @@ class ormCaseLog {
*/
public function GetLatestEntryIndex()
{
- $iLast = end(array_keys($this->m_aIndex));
+ $aKeys = array_keys($this->m_aIndex);
+ $iLast = end($aKeys); // Strict standards: the parameter passed to 'end' must be a variable since it is passed by reference
return $iLast;
}