aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-04-04 10:51:51 +0000
committerMario <mario@mariovavti.com>2025-04-04 10:51:51 +0000
commita822e94f9b3020a42ce3f184c9942af6c2cd45f6 (patch)
treebacc580c16cb927f98d5b700dc16896b07af7ecb /Zotlabs/Module
parent484971c90a33c3ffcc46c119fc9eeba75a5821aa (diff)
downloadvolse-hubzilla-a822e94f9b3020a42ce3f184c9942af6c2cd45f6.tar.gz
volse-hubzilla-a822e94f9b3020a42ce3f184c9942af6c2cd45f6.tar.bz2
volse-hubzilla-a822e94f9b3020a42ce3f184c9942af6c2cd45f6.zip
move jot popup handling to template, port photo selector to vanilla javascript and enable it for comments if applicable
Diffstat (limited to 'Zotlabs/Module')
-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 ed5b24724..767cfbb92 100644
--- a/Zotlabs/Module/Embedphotos.php
+++ b/Zotlabs/Module/Embedphotos.php
@@ -43,7 +43,7 @@ class Embedphotos extends \Zotlabs\Web\Controller {
$arr = explode('/', $href);
$resource_id = array_pop($arr);
$x = self::photolink($resource_id);
- if($x)
+ if($x)
json_return_and_die(array('status' => true, 'photolink' => $x, 'resource_id' => $resource_id));
json_return_and_die(array('errormsg' => 'Error retrieving resource ' . $resource_id, 'status' => false));
}