diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2012-04-17 18:07:20 +0200 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2012-04-17 18:07:20 +0200 |
commit | dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d (patch) | |
tree | 23e17c4ceb420292d2dff3137ad4723f3d94fb4f /mod/photo.php | |
parent | 757e3429ac6928c45ffebf0b64288e63efbc6322 (diff) | |
parent | b30c761aae7e01e6fe727232e48b14303484a228 (diff) | |
download | volse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.tar.gz volse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.tar.bz2 volse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.zip |
Merge branch 'master' of https://github.com/friendica/friendica
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')) { |