mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 08:20:57 +01:00
Conpherence - fix bug with possible null value
Summary: Fixes T7675. epriestley caught this in code review and I didn't implement it all the way Test Plan: logicypoo Reviewers: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7675 Differential Revision: https://secure.phabricator.com/D12181
This commit is contained in:
parent
0dda809da6
commit
a428bb8ad4
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ final class ConpherenceThreadListView extends AphrontView {
|
|||
|
||||
$grouped = mgroup($this->threads, 'getIsRoom');
|
||||
$rooms = idx($grouped, true, array());
|
||||
$rooms = array_slice($grouped[true], 0, 5);
|
||||
$rooms = array_slice($rooms, 0, 5);
|
||||
|
||||
$policies = array();
|
||||
foreach ($rooms as $room) {
|
||||
|
|
Loading…
Reference in a new issue