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/branches/branch-1_6@1285 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2006-04-28 04:37:28 +00:00
parent d6264b468c
commit 1cc593f760
8 changed files with 49 additions and 37 deletions
+2 -1
View File
@@ -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' :