X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsession%2FSessionInfo.php;h=577e03a264293ff118e58cf0aa6d22003dac61fb;hb=3ba2de358dc7de6820974726104fb2b36a0cf1fb;hp=287da9dde36eef54b89b93679d9f3ee748096ffe;hpb=adae996840b9e782f6e14b21c433a83e37c3a74e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/session/SessionInfo.php b/includes/session/SessionInfo.php index 287da9dde3..577e03a264 100644 --- a/includes/session/SessionInfo.php +++ b/includes/session/SessionInfo.php @@ -282,7 +282,7 @@ class SessionInfo { * @return int Negative if $a < $b, positive if $a > $b, zero if equal */ public static function compare( $a, $b ) { - return $a->getPriority() - $b->getPriority(); + return $a->getPriority() <=> $b->getPriority(); } }