aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--picture.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/picture.php b/picture.php
index a85f55b64..6e4a73709 100644
--- a/picture.php
+++ b/picture.php
@@ -416,8 +416,8 @@ else
$original_height = $picture['current']['height'];
}
-$picture_size = get_picture_size( $original_width, $original_height,
- $user['maxwidth'], $user['maxheight'] );
+$picture_size = get_picture_size($original_width, $original_height,
+ @$user['maxwidth'], @$user['maxheight']);
// metadata
if ($conf['show_exif'] or $conf['show_iptc'])