diff options
author | Michael <icarus@dabo.de> | 2012-02-27 00:03:51 +0100 |
---|---|---|
committer | Michael <icarus@dabo.de> | 2012-02-27 00:03:51 +0100 |
commit | 18679111f5aed8f1c5e7ccb9857195e52c57765d (patch) | |
tree | bffb4a563ed2fe1ff02a4221e28c608460c866db /mod/photo.php | |
parent | fe3dfbee5638dd2988bd8b126652b3138572f02c (diff) | |
parent | 6ddd444afde33337235eab3aa9d6d1fe12bcb7a4 (diff) | |
download | volse-hubzilla-18679111f5aed8f1c5e7ccb9857195e52c57765d.tar.gz volse-hubzilla-18679111f5aed8f1c5e7ccb9857195e52c57765d.tar.bz2 volse-hubzilla-18679111f5aed8f1c5e7ccb9857195e52c57765d.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/photo.php')
-rwxr-xr-x | mod/photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photo.php b/mod/photo.php index a5a5a1dc1..c4a93769a 100755 --- a/mod/photo.php +++ b/mod/photo.php @@ -119,7 +119,7 @@ function photo_init(&$a) { // NOTREACHED } - if(intval($customres) && $customres > 0 && $customres < 500) { + if(isset($customres) && $customres > 0 && $customres < 500) { require_once('include/Photo.php'); $ph = new Photo($data); if($ph->is_valid()) { |