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/functions_rate.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 '')
-rw-r--r-- | include/functions_rate.inc.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/functions_rate.inc.php b/include/functions_rate.inc.php index d3027a0e6..da4722420 100644 --- a/include/functions_rate.inc.php +++ b/include/functions_rate.inc.php @@ -120,7 +120,6 @@ INSERT $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_id.' ;'; |