Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: functions_task.php 4113 2008-08-14 00:42:50Z Tikitiki $
| * $Id: functions_task.php 4344 2009-04-12 18:58:39Z Tikitiki $
|
*/
/**
| */
/**
|
Zeile 216 | Zeile 216 |
---|
{ if(build_next_run_bit($task['weekday'], $current_weekday) != false) {
|
{ if(build_next_run_bit($task['weekday'], $current_weekday) != false) {
|
$next_weekday - build_next_run_bit($task['weekday'], $current_weekday);
| $next_weekday = build_next_run_bit($task['weekday'], $current_weekday);
|
} else { $next_weekday = fetch_first_run_time($task['weekday']); } $next_day = $current_day + ($next_weekday-$current_weekday);
|
} else { $next_weekday = fetch_first_run_time($task['weekday']); } $next_day = $current_day + ($next_weekday-$current_weekday);
|
if($next_day < $current_day)
| if($next_day <= $current_day)
|
{ $next_day += 7; }
| { $next_day += 7; }
|