From 9b00469b471a8b159c60ecca333f0f7064ba1d27 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sat, 20 Dec 2008 03:22:54 +0000 Subject: misc error warnings and notices --- functions/parse/recur_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions/parse/recur_functions.php') diff --git a/functions/parse/recur_functions.php b/functions/parse/recur_functions.php index daf7399..c0ea88f 100644 --- a/functions/parse/recur_functions.php +++ b/functions/parse/recur_functions.php @@ -57,7 +57,7 @@ function add_recur($times,$freq=''){ } function expand_bymonth($time){ global $bymonth, $byweekno, $bymonthday, $year, $start_unixtime, $freq_type; - if(!empty($byweekno)) return $times; + if(!empty($byweekno)) return $time; if(empty($bymonth)) $bymonth = array(date("m", $start_unixtime)); $d = date("d",$start_unixtime); if (!empty($bymonthday)) $d = 1; -- cgit v1.2.3