mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 14:51:06 +01:00
Fix weird issue where INF is not respected in PHP 5.5
Summary: After upgrading to PHP 5.5, the conduit list was not fully visible because INF was being treated as "0" for some reason. Fixed by making it a PHP_MAX_INT Test Plan: Checked on PHP 5.5 Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7530
This commit is contained in:
parent
f68d67530a
commit
1bcf478c69
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ final class PhabricatorConduitSearchEngine
|
|||
extends PhabricatorApplicationSearchEngine {
|
||||
|
||||
public function getPageSize(PhabricatorSavedQuery $saved) {
|
||||
return INF;
|
||||
return PHP_INT_MAX - 1;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
|
|
Loading…
Reference in a new issue