aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/photos_add_direct_process.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include/photos_add_direct_process.inc.php')
-rw-r--r--admin/include/photos_add_direct_process.inc.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/admin/include/photos_add_direct_process.inc.php b/admin/include/photos_add_direct_process.inc.php
index 59e37e891..100b61032 100644
--- a/admin/include/photos_add_direct_process.inc.php
+++ b/admin/include/photos_add_direct_process.inc.php
@@ -215,10 +215,7 @@ SELECT
// function get_image_name($name, $file) would be better
$thumbnail['title'] = get_name_from_file($image_infos['file']);
- $thumbnail['link'] = PHPWG_ROOT_PATH.'admin.php?page=picture_modify'
- .'&image_id='.$image_id
- .'&cat_id='.$category_id
- ;
+ $thumbnail['link'] = get_root_url().'admin.php?page=photo-'.$image_id.'&cat_id='.$category_id;
array_push($page['thumbnails'], $thumbnail);
}