aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Embedphotos.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-23 19:23:17 -0800
committerzotlabs <mike@macgirvin.com>2018-02-23 19:23:17 -0800
commit2d91aed183a08a78bc2cc0f3554f3d4c277ae798 (patch)
tree4ba9973ffe68cee3a9d770ae027b2f2916d53ed8 /Zotlabs/Module/Embedphotos.php
parent3dd64e7916872d21122c8184abb80eaa5a79a3fc (diff)
downloadvolse-hubzilla-2d91aed183a08a78bc2cc0f3554f3d4c277ae798.tar.gz
volse-hubzilla-2d91aed183a08a78bc2cc0f3554f3d4c277ae798.tar.bz2
volse-hubzilla-2d91aed183a08a78bc2cc0f3554f3d4c277ae798.zip
use embed photos javascript widget to select existing photos for profile and cover photos
Diffstat (limited to 'Zotlabs/Module/Embedphotos.php')
-rw-r--r--Zotlabs/Module/Embedphotos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Embedphotos.php b/Zotlabs/Module/Embedphotos.php
index 15cc68d7f..bcbb0e116 100644
--- a/Zotlabs/Module/Embedphotos.php
+++ b/Zotlabs/Module/Embedphotos.php
@@ -53,7 +53,7 @@ class Embedphotos extends \Zotlabs\Web\Controller {
} else {
json_return_and_die(array('errormsg' => 'Error retrieving resource ' . $resource_id, 'status' => false));
}
- json_return_and_die(array('status' => true, 'photolink' => $photolink));
+ json_return_and_die(array('status' => true, 'photolink' => $photolink, 'resource_id' => $resource_id));
}
}