--- notifications/notifications.cron.inc 2009-10-05 17:51:13.000000000 +0000 +++ notifications/notifications.cron.inc 2010-07-16 03:48:59.000000000 +0000 @@ -118,6 +118,9 @@ foreach ($defaults as $name => $value) { if ($value && !isset($limit[$name])) { $limit[$name] = $value; + if ($name == 'time') { + $limit[$name] += time(); + } } } break; @@ -137,7 +140,7 @@ } // This is an absolute limit, applies always if set if (!empty($limit['time'])) { - $timelimit[] = time() + $limit['time']; + $timelimit[] = $limit['time']; } if ($timelimit) { $limit['time'] = min($timelimit); @@ -148,6 +151,9 @@ case 'init': $current[$name] = 0; $limit[$name] = $value; + if ($name == 'time') { + $limit[$name] += time(); + } break; case 'count': $value = $value ? $value : 1;