diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-03-21 01:27:21 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-03-21 01:27:21 +0000 |
commit | e584310d3a51bcae7be00513a852ad43e22c585b (patch) | |
tree | 649befce1fa32157838995e25a720dc0f0dbed3c /include/picture_rate.inc.php | |
parent | 0c08b2561aa95b134499a157dd5a90b89460cff8 (diff) |
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
Diffstat (limited to 'include/picture_rate.inc.php')
-rw-r--r-- | include/picture_rate.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 ? '|' : ''), ) ); |