diff options
author | nikrou <nikrou@piwigo.org> | 2010-05-08 18:43:50 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-05-08 18:43:50 +0000 |
commit | a34af69677b6b7b3d1a7c551a0bb5ce5a9441d3c (patch) | |
tree | 579e4c7b23c385cfd556edcbcfc221fb7f272415 /include/ws_functions.inc.php | |
parent | f51c9412bada85609ea5bfd882cdab0d6214c050 (diff) |
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
Diffstat (limited to 'include/ws_functions.inc.php')
-rw-r--r-- | include/ws_functions.inc.php | 1 |
1 files changed, 0 insertions, 1 deletions
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'].' ;'; |