aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index 98c9593fe..10c39a789 100644
--- a/picture.php
+++ b/picture.php
@@ -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',