fixes #2163 check user conf

add user['enabled_high'] to condition for adding download link
This commit is contained in:
HWFord 2024-05-29 16:39:59 +02:00
parent 7fae203a83
commit b0485f6365

View file

@ -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);