Fix password reset and other minor items
This commit is contained in:
@@ -611,7 +611,7 @@ class Model_Invoice extends ORM_OSB implements Cartable {
|
||||
$result = array();
|
||||
|
||||
foreach ($this->_list_due() as $io)
|
||||
if ($io->due_date > time())
|
||||
if (is_null($time) OR $io->due_date > time())
|
||||
if (is_null($time))
|
||||
array_push($result,$io);
|
||||
elseif ($io->due_date <= $time)
|
||||
|
Reference in New Issue
Block a user