Skip to content

Commit

Permalink
Fix bug on PH5.3 "Cannot access self:: when no class scope is active"
Browse files Browse the repository at this point in the history
  • Loading branch information
kohkimakimoto committed Dec 1, 2013
1 parent 3ebd9b7 commit aed5b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kohkimakimoto/EArray/EArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ protected function doSort($key = null, $delimiter = '/', $order = 1)
$cmp = strcmp($oneValue, $anotherValue);
}

if ($order === self::ORDER_HIGHT_TO_LOW) {
if ($order === EArray::ORDER_HIGHT_TO_LOW) {
$cmp = -$cmp;
}

Expand Down

0 comments on commit aed5b5e

Please sign in to comment.