mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
no warning on missing user agent
git-svn-id: http://piwigo.org/svn/trunk@27867 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -946,7 +946,7 @@ $template->assign( 'ELEMENT_CONTENT', $element_content );
|
||||
if (isset($picture['next'])
|
||||
and $picture['next']['src_image']->is_original()
|
||||
and $template->get_template_vars('U_PREFETCH') == null
|
||||
and strpos($_SERVER['HTTP_USER_AGENT'], 'Chrome/') === false)
|
||||
and strpos(@$_SERVER['HTTP_USER_AGENT'], 'Chrome/') === false)
|
||||
{
|
||||
$template->assign(
|
||||
'U_PREFETCH',
|
||||
|
||||
Reference in New Issue
Block a user