mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2163 check user conf
add user['enabled_high'] to condition for adding download link
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user