mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 13:52:40 +01:00
Fix undefined variable on empty Maniphest results pages
Summary: Fixes T2741. If there are no results, `$result_count` is never initialized. Test Plan: Looked at an empty results page. Reviewers: btrahan, chad Reviewed By: chad CC: aran Maniphest Tasks: T2741 Differential Revision: https://secure.phabricator.com/D5328
This commit is contained in:
parent
4b6c81a23c
commit
5b0e64435b
1 changed files with 1 additions and 0 deletions
|
@ -307,6 +307,7 @@ final class ManiphestTaskListController extends ManiphestController {
|
|||
'%s'.
|
||||
'</h1>',
|
||||
$no_tasks));
|
||||
$result_count = null;
|
||||
} else {
|
||||
$pager = new AphrontPagerView();
|
||||
$pager->setURI($request->getRequestURI(), 'offset');
|
||||
|
|
Loading…
Reference in a new issue