mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Conpherence - fix fatal on list view for 100+ messages
Summary: Fixes T6480. @epriestley is very popular and has over 100 messages, thus triggering this issue. fix the typo because bugs are bad. Test Plan: set limit to 1, observed fatal, applied patch and fatal went away Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6480 Differential Revision: https://secure.phabricator.com/D10793
This commit is contained in:
parent
6a5369b173
commit
351f4722d9
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ final class ConpherenceListController extends ConpherenceController {
|
|||
->setLimit($too_many)
|
||||
->execute();
|
||||
if (count($all_participation) == $too_many) {
|
||||
$node = end($participation);
|
||||
$node = end($all_participation);
|
||||
unset($all_participation[$node->getConpherencePHID()]);
|
||||
$scroll_down_participant = $node;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue