aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Photo.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-15 20:52:18 +0000
committerMario <mario@mariovavti.com>2021-01-15 20:52:18 +0000
commite55ea8b126f3da4c119513b018ea8d939fcd3a9f (patch)
treede1ec13a31095a35a35b6aec222741551887b4e2 /Zotlabs/Module/Photo.php
parent889581e35be793859963375aeb5a6d7ff2884a60 (diff)
downloadvolse-hubzilla-e55ea8b126f3da4c119513b018ea8d939fcd3a9f.tar.gz
volse-hubzilla-e55ea8b126f3da4c119513b018ea8d939fcd3a9f.tar.bz2
volse-hubzilla-e55ea8b126f3da4c119513b018ea8d939fcd3a9f.zip
undefined variable $filename
Diffstat (limited to 'Zotlabs/Module/Photo.php')
-rw-r--r--Zotlabs/Module/Photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index 814705a85..041bdf5a2 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -147,7 +147,7 @@ class Photo extends \Zotlabs\Web\Controller {
);
if($r) {
$allowed = (-1);
-
+ $filename = $r[0]['filename'];
$u = intval($r[0]['photo_usage']);
if($u) {
$allowed = 1;