From e584310d3a51bcae7be00513a852ad43e22c585b Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 21 Mar 2006 01:27:21 +0000 Subject: URL rewriting: fix some old links, calendar simplification and prepare code for urls without ? (added functions get_root_url and add_url_param) git-svn-id: http://piwigo.org/svn/trunk@1090 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/picture_rate.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/picture_rate.inc.php') diff --git a/include/picture_rate.inc.php b/include/picture_rate.inc.php index 7f765e759..e994b3e44 100644 --- a/include/picture_rate.inc.php +++ b/include/picture_rate.inc.php @@ -27,7 +27,7 @@ /** * This file is included by the picture page to manage rates - * + * */ if ($conf['rate']) @@ -113,7 +113,7 @@ SELECT COUNT(rate) AS count 'rate.rate_option', array( 'OPTION' => $mark, - 'URL' => $url_self.'&action=rate&rate='.$mark, + 'URL' => add_url_param($url_self,'action=rate&rate='.$mark), 'SEPARATOR' => ($num > 0 ? '|' : ''), ) ); -- cgit v1.2.3