aboutsummaryrefslogtreecommitdiffstats
path: root/include/picture_rate.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/picture_rate.inc.php')
-rw-r--r--include/picture_rate.inc.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/picture_rate.inc.php b/include/picture_rate.inc.php
index 86c2486ac..46263d968 100644
--- a/include/picture_rate.inc.php
+++ b/include/picture_rate.inc.php
@@ -113,7 +113,13 @@ SELECT COUNT(rate) AS count
'rate.rate_option',
array(
'OPTION' => $mark,
- 'URL' => add_url_param($url_self,'action=rate&rate='.$mark),
+ 'URL' => add_url_params(
+ $url_self,
+ array(
+ 'action'=>'rate',
+ 'rate'=>$mark
+ )
+ ),
'SEPARATOR' => ($num > 0 ? '|' : ''),
)
);