diff options
author | Tobias Hößl <tobias@hoessl.eu> | 2012-04-17 11:33:50 +0000 |
---|---|---|
committer | Tobias Hößl <tobias@hoessl.eu> | 2012-04-17 11:33:50 +0000 |
commit | 720c8324c7572ebf51e4083430e060900cb30750 (patch) | |
tree | 8852cf4a64f42499825cbe46ba295082ce1cc515 /mod/photo.php | |
parent | a7421990350e2409ee90957dab37e1ff1fc272df (diff) | |
download | volse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.tar.gz volse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.tar.bz2 volse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.zip |
Some Bugfixes, and variable checks
Diffstat (limited to 'mod/photo.php')
-rw-r--r-- | mod/photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photo.php b/mod/photo.php index ec53af899..1d38fe8e4 100644 --- a/mod/photo.php +++ b/mod/photo.php @@ -170,7 +170,7 @@ function photo_init(&$a) { } // Writing in cachefile - if ($cachefile != '') + if (isset($cachefile) && $cachefile != '') file_put_contents($cachefile, $data); if(function_exists('header_remove')) { |