From d850b4e6218e82ad9544fd0cd0c9e2abb2a3440c Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 22 Apr 2006 13:38:24 +0000 Subject: [PATCH] typo in switch --- lib/statslib.php | 2 +- mod/hotpot/view.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: -- 2.39.5