diff options
author | Tobias Hößl <tobias@hoessl.eu> | 2012-02-26 20:43:23 +0000 |
---|---|---|
committer | Tobias Hößl <tobias@hoessl.eu> | 2012-02-26 20:43:23 +0000 |
commit | b102a1d5ecda36a9a48a841f06df9ef5d33fa46a (patch) | |
tree | 0c4383495cd6cd896068ab9e43636fbcc74c047f /mod/photo.php | |
parent | cbc6ca642a15d077e66e5cf9fe89a16521b3e6c4 (diff) | |
download | volse-hubzilla-b102a1d5ecda36a9a48a841f06df9ef5d33fa46a.tar.gz volse-hubzilla-b102a1d5ecda36a9a48a841f06df9ef5d33fa46a.tar.bz2 volse-hubzilla-b102a1d5ecda36a9a48a841f06df9ef5d33fa46a.zip |
is not always defined; but if defined, then always of type integer
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()) { |