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 02cddb9 commit af2cf0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nag/lib/Nag.php
Expand Up @@ -1565,10 +1565,10 @@ public static function _rsortByEstimate($a, $b)
*/
public static 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 af2cf0b

Please sign in to comment.