From: stronk7 Date: Thu, 27 Nov 2003 23:42:25 +0000 (+0000) Subject: Comment some debug. I forgot it, sorry. :-( X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=34b1d1a41d212e3836cf5344f3ddc967555995c1;p=moodle.git Comment some debug. I forgot it, sorry. :-( --- diff --git a/backup/config.html b/backup/config.html index 9306831d0c..91dc89e4fb 100644 --- a/backup/config.html +++ b/backup/config.html @@ -36,7 +36,7 @@ $backup_config->backup_sche_weekdays = "0000000"; } -print_object($backup_config); + //print_object($backup_config); //Debug //Yes/no array for use in yes/no menu $yesno_array[0] = $no; @@ -112,10 +112,10 @@ print_object($backup_config); //after searching the web I haven't find a sytem to retrieve it in php from locale info $firstdayofweek = get_string("firstdayofweek"); //If it is empty ot it is different of 1, default to 0 - if (empty($firstdayofweek) || $firstdayofweek != 1) { + if (!isset($firstdayofweek) || $firstdayofweek != 1) { $firstdayofweek = 0; } - //Now create the timestamp of a well-know sunday (02/25/2001, my 31th birthday !!) + //Now create the timestamp of a well-know sunday (02/25/2001, my 31th birthday (stronk7) !!) $onesunday = make_timestamp(2001,2,25); $i = 0; $day_names = "";