aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index 3dc08ac40..486e303cb 100644
--- a/picture.php
+++ b/picture.php
@@ -165,7 +165,8 @@ UPDATE '.CATEGORIES_TABLE.'
case 'rate' :
{
include_once(PHPWG_ROOT_PATH.'include/functions_rate.inc.php');
- rate_picture($page['image_id'], $_GET['rate']);
+ rate_picture($page['image_id'],
+ isset($_POST['rate']) ? $_POST['rate'] : $_GET['rate'] );
redirect($url_self);
}
case 'delete_comment' :