diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-10-08 21:37:36 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-10-08 21:37:36 -0400 |
commit | 9acaf639b57e06178c92b8321012833c4e1fdb80 (patch) | |
tree | 85713f761c441479f974ecfe8704997fe6d7feb0 /engine/classes | |
parent | 3e754d8e0c0d36e9f7a0cd539e94a587776eb515 (diff) | |
download | elgg-9acaf639b57e06178c92b8321012833c4e1fdb80.tar.gz elgg-9acaf639b57e06178c92b8321012833c4e1fdb80.tar.bz2 |
Fixes #3945 using reset on the array
Diffstat (limited to 'engine/classes')
-rw-r--r-- | engine/classes/ElggPriorityList.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /** |