From a34af69677b6b7b3d1a7c551a0bb5ce5a9441d3c Mon Sep 17 00:00:00 2001 From: nikrou Date: Sat, 8 May 2010 18:43:50 +0000 Subject: Amend bug 1559. standard deviation was not removed in some places. So, sqlite crashed because std function has been removed. git-svn-id: http://piwigo.org/svn/trunk@6125 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions.inc.php | 1 - 1 file changed, 1 deletion(-) (limited to 'include/ws_functions.inc.php') diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index 162cd4371..32967fb5d 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -676,7 +676,6 @@ SELECT id, name, permalink, uppercats, global_rank, commentable $query = ' SELECT COUNT(rate) AS count , ROUND(AVG(rate),2) AS average - , ROUND(STD(rate),2) AS stdev FROM '.RATE_TABLE.' WHERE element_id = '.$image_row['id'].' ;'; -- cgit v1.2.3