aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photo.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2012-04-17 18:07:20 +0200
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2012-04-17 18:07:20 +0200
commitdbff4252d4ac7ccc1cda6b378a53c6761ea4c49d (patch)
tree23e17c4ceb420292d2dff3137ad4723f3d94fb4f /mod/photo.php
parent757e3429ac6928c45ffebf0b64288e63efbc6322 (diff)
parentb30c761aae7e01e6fe727232e48b14303484a228 (diff)
downloadvolse-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.php2
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')) {