Pārlūkot izejas kodu

Fixed a warning...

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1520 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 14 gadi atpakaļ
vecāks
revīzija
801914ebc7
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      core/ormcaselog.class.inc.php

+ 2 - 1
core/ormcaselog.class.inc.php

@@ -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;
 	}
 }