Permalink
Browse files

Fixing bug in sortByMultiple on PHP < 5.3

  • Loading branch information...
1 parent 2679059 commit 6d7f3468f66b0ea4e739fecec025b2215e9ed740 @aembler aembler committed Mar 30, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 web/concrete/libraries/item_list.php
@@ -512,7 +512,8 @@ public function getSortByDirection() {return $this->sortByDirection;}
* Note that this is overrides any previous sortByMultiple() call, and all sortBy() calls
*/
public function sortByMultiple() {
- $this->sortByString = implode(', ', func_get_args());
+ $args = func_get_args();
+ $this->sortByString = implode(', ', $args);
}
}

0 comments on commit 6d7f346

Please sign in to comment.