From b0485f6365dfc6b2e65a93750b0bba413c0b991d Mon Sep 17 00:00:00 2001 From: HWFord <54360213+HWFord@users.noreply.github.com> Date: Wed, 29 May 2024 16:39:59 +0200 Subject: [PATCH] fixes #2163 check user conf add user['enabled_high'] to condition for adding download link --- picture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picture.php b/picture.php index fccc5233e..eb5250965 100644 --- a/picture.php +++ b/picture.php @@ -646,7 +646,7 @@ foreach (array('first','previous','next','last', 'current') as $which_image) ); } } -if ($conf['picture_download_icon'] and !empty($picture['current']['download_url'])) +if ($conf['picture_download_icon'] and !empty($picture['current']['download_url']) and $user['enabled_high']=='true') { $template->append('current', array('U_DOWNLOAD' => $picture['current']['download_url']), true);