From: Cash Costello Date: Sun, 9 Oct 2011 01:37:36 +0000 (-0400) Subject: Fixes #3945 using reset on the array X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9acaf639b57e06178c92b8321012833c4e1fdb80;p=lorea%2Felgg.git Fixes #3945 using reset on the array --- diff --git a/engine/classes/ElggPriorityList.php b/engine/classes/ElggPriorityList.php index aa33831ff..8a3b836a8 100644 --- a/engine/classes/ElggPriorityList.php +++ b/engine/classes/ElggPriorityList.php @@ -303,7 +303,7 @@ class ElggPriorityList */ public function rewind() { $this->sortIfUnsorted(); - return rewind($this->elements); + return reset($this->elements); } /**