Major work to domain and hosting
Minor updates for ADSL services Updates to Sort::MAsort() Move core OSB items under application/ Moved ACCOUNT functions under application Minor updates to task
This commit is contained in:
@@ -53,7 +53,7 @@ class Controller_Task_Invoice extends Controller_Task {
|
||||
$io = ORM::factory('invoice');
|
||||
$key = 'remind_due';
|
||||
|
||||
foreach ($io->list_due(time()-86400*$days) as $io) {
|
||||
foreach ($io->list_due(time()+86400*$days) as $io) {
|
||||
// If we have already sent a reminder, we'll skip to the next one.
|
||||
if ($io->remind($key) AND (is_null($x=$this->request->param('id')) OR $x != 'again'))
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user