aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Thing.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-03 15:19:39 -0800
committerMario Vavti <mario@mariovavti.com>2018-03-04 09:46:17 +0100
commit1eab488754abefa5e5b7a6b282f13351a4dc4f70 (patch)
tree85a221b9594cb188f398820bad001f8c5e174a7a /Zotlabs/Module/Thing.php
parent98e3e7ff9bb05b988ebbbb209ac6b9978a95d3e3 (diff)
downloadvolse-hubzilla-1eab488754abefa5e5b7a6b282f13351a4dc4f70.tar.gz
volse-hubzilla-1eab488754abefa5e5b7a6b282f13351a4dc4f70.tar.bz2
volse-hubzilla-1eab488754abefa5e5b7a6b282f13351a4dc4f70.zip
There was no pdl for mod_thing; add one because it's only a link away from profile creation and remains on that page until you go elsewhere and new members may need help to find their way out
Diffstat (limited to 'Zotlabs/Module/Thing.php')
-rw-r--r--Zotlabs/Module/Thing.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Thing.php b/Zotlabs/Module/Thing.php
index f816632ab..c3d8ff802 100644
--- a/Zotlabs/Module/Thing.php
+++ b/Zotlabs/Module/Thing.php
@@ -20,6 +20,11 @@ class Thing extends \Zotlabs\Web\Controller {
$channel = \App::get_channel();
+ if($_SERVER['REQUEST_METHOD'] === 'GET' && argc() < 2) {
+ profile_load($channel['channel_address']);
+ }
+
+
$term_hash = (($_REQUEST['term_hash']) ? $_REQUEST['term_hash'] : '');
$name = escape_tags($_REQUEST['term']);