diff options
author | zottel <github@zottel.net> | 2012-04-20 13:42:33 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-04-20 13:42:33 +0200 |
commit | 9663299da1be50eef4327778fae619fc6f9edef4 (patch) | |
tree | 5cd9b93f16c344cf896ac8d4e2a4a818fe21e783 /mod/photo.php | |
parent | 041f74dc775424f686a1cd95c00e0d63bfc4b99c (diff) | |
parent | 0e25376e4afea4e5d96c233594feef0a35ca314c (diff) | |
download | volse-hubzilla-9663299da1be50eef4327778fae619fc6f9edef4.tar.gz volse-hubzilla-9663299da1be50eef4327778fae619fc6f9edef4.tar.bz2 volse-hubzilla-9663299da1be50eef4327778fae619fc6f9edef4.zip |
Merge remote branch 'upstream/master'
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')) { |