mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-07 02:11:26 +02:00
merge -r1285 in from branch-1_6 to trunk
bug 359: transform rating html A links to FORM because some bots rate pictures (even if rel="nofollow" is set) git-svn-id: http://piwigo.org/svn/trunk@1286 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+2
-1
@@ -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' :
|
||||
|
||||
Reference in New Issue
Block a user