aboutsummaryrefslogtreecommitdiffstats
path: root/admin/rating.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/rating.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/rating.php b/admin/rating.php
index 66dea07d8..2073ca64c 100644
--- a/admin/rating.php
+++ b/admin/rating.php
@@ -203,8 +203,7 @@ foreach ($images as $image)
{
$thumbnail_src = DerivativeImage::thumb_url($image);
- $image_url = PHPWG_ROOT_PATH.'admin.php?page=picture_modify'.
- '&image_id='.$image['id'];
+ $image_url = get_root_url().'admin.php?page=photo-'.$image['id'];
$query = 'SELECT *
FROM '.RATE_TABLE.' AS r