From: skodak Date: Sat, 22 Apr 2006 13:38:24 +0000 (+0000) Subject: typo in switch X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d850b4e6218e82ad9544fd0cd0c9e2abb2a3440c;p=moodle.git typo in switch --- diff --git a/lib/statslib.php b/lib/statslib.php index 281b95a640..143bf63da4 100644 --- a/lib/statslib.php +++ b/lib/statslib.php @@ -419,7 +419,7 @@ function stats_get_start_from($str) { case 'all': return $function(get_field_sql('SELECT time FROM '.$CFG->prefix.'log ORDER BY time LIMIT 1')); break; - case 'none'; + case 'none': return $function(strtotime('-1 day',time())); break; default: diff --git a/mod/hotpot/view.php b/mod/hotpot/view.php index 1fe9e56646..70b0dc8df1 100644 --- a/mod/hotpot/view.php +++ b/mod/hotpot/view.php @@ -390,7 +390,7 @@ break; case HOTPOT_NAVIGATION_IFRAME: switch ($framename) { - case 'main'; + case 'main': print $hp->html; break; default: