aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-08-27 18:32:10 +0000
committerrvelices <rv-github@modusoptimus.com>2012-08-27 18:32:10 +0000
commita6c33e933252b3b9f0b3efc86b73782d15d0ad4a (patch)
tree7b9ab0253b739c56a7340e77b8cfa484e6ea193a /admin
parentec41085ce7a5c142e4fce3c156f9bd54d21c881c (diff)
remove deprecated function get_thumbnail_url + $conf['local_data_dir']
git-svn-id: http://piwigo.org/svn/trunk@17649 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/album_notification.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/album_notification.php b/admin/album_notification.php
index c456f056f..c48ff8350 100644
--- a/admin/album_notification.php
+++ b/admin/album_notification.php
@@ -55,7 +55,7 @@ if (isset($_POST['submitEmail']) and !empty($_POST['group']))
if (!empty($category['representative_picture_id']))
{
$query = '
-SELECT id, file, path
+SELECT id, file, path, representative_ext
FROM '.IMAGES_TABLE.'
WHERE id = '.$category['representative_picture_id'].'
;';
@@ -71,7 +71,7 @@ SELECT id, file, path
'image_file' => $element['file'],
'category' => $category
))
- .'" class="thumblnk"><img src="'.get_thumbnail_url($element).'"></a>';
+ .'" class="thumblnk"><img src="'.DerivativeImage::url(IMG_THUMB, $element).'"></a>';
}
}