1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 20:40:56 +01:00

DERP 2 with my last diff - shouldn't have pulled this outside the conditional

This commit is contained in:
Bob Trahan 2013-04-18 17:22:05 -07:00
parent 3b4ca71d47
commit d2874a96b8

View file

@ -146,10 +146,10 @@ abstract class ConpherenceController extends PhabricatorController {
if (count($transactions) == $too_many) {
$last_transaction = end($transactions);
unset($transactions[$last_transaction->getID()]);
$oldest_transaction = end($transactions);
$oldest_transaction_id = $oldest_transaction->getID();
}
$transactions = array_reverse($transactions);
$oldest_transaction = reset($transactions);
$oldest_transaction_id = $oldest_transaction->getID();
$handles = $conpherence->getHandles();
$rendered_transactions = array();
$engine = id(new PhabricatorMarkupEngine())