Skip to content

Commit

Permalink
Bug: 14504 Fix regression in sorting recurring tasks with due dates.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Nov 8, 2016
1 parent 84a3d79 commit eb1ca4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nag/lib/Nag.php
Expand Up @@ -1535,10 +1535,10 @@ static public function _rsortByEstimate($a, $b)
*/
static public function _sortByDue($a, $b)
{
$a_due = empty($a->due)
$a_due = empty($a->getNextDue())
? 0
: $a->getNextDue()->timestamp();
$b_due = empty($b->due)
$b_due = empty($b->getNextDue())
? 0
: $b->getNextDue()->timestamp();

Expand Down

0 comments on commit eb1ca4c

Please sign in to comment.