aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photo.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-17 06:50:09 -0700
committerfriendica <info@friendica.com>2012-04-17 06:50:09 -0700
commit8269d6aa19eb71063ff578b43b237ffd4fea93b1 (patch)
tree58ff40aa9414f8484a3f1091b616e81db720822e /mod/photo.php
parente6330e3b966401f83d54bdd08c9ed9ab294643e0 (diff)
parent720c8324c7572ebf51e4083430e060900cb30750 (diff)
downloadvolse-hubzilla-8269d6aa19eb71063ff578b43b237ffd4fea93b1.tar.gz
volse-hubzilla-8269d6aa19eb71063ff578b43b237ffd4fea93b1.tar.bz2
volse-hubzilla-8269d6aa19eb71063ff578b43b237ffd4fea93b1.zip
Merge pull request #240 from CatoTH/master
Some bugfixes / Notices
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')) {