From df30e45877206bfb0d1d1683cbd060ead10426cb Mon Sep 17 00:00:00 2001 From: Arthur Portugal Date: Tue, 29 Dec 2009 10:32:05 -0500 Subject: [PATCH] Minor - Removed echo because it was showing the sentence sql --- main/newscorm/lp_stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/newscorm/lp_stats.php b/main/newscorm/lp_stats.php index fb0faaaac7..1438913806 100755 --- a/main/newscorm/lp_stats.php +++ b/main/newscorm/lp_stats.php @@ -481,7 +481,7 @@ if (is_array($list) && count($list) > 0){ $res_score = Database::query($sql,__FILE__,__LINE__); $row_score = Database::fetch_array($res_score); - echo $sql = "SELECT SUM(total_time) as total_time FROM $TBL_LP_ITEM_VIEW WHERE lp_item_id = '".(int)$my_id."' and lp_view_id = '".(int)$my_lp_view_id."'"; + $sql = "SELECT SUM(total_time) as total_time FROM $TBL_LP_ITEM_VIEW WHERE lp_item_id = '".(int)$my_id."' and lp_view_id = '".(int)$my_lp_view_id."'"; $res_time = Database::query($sql,__FILE__,__LINE__); $row_time = Database::fetch_array($res_time);