aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Thing.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-03 15:19:39 -0800
committerzotlabs <mike@macgirvin.com>2018-03-03 15:19:39 -0800
commitca1022675c84c862e9ae3180a47360040b24e9e2 (patch)
tree8e9975f138d29aa2eacdd6f8c076410b910cf843 /Zotlabs/Module/Thing.php
parentc3920116f2fbf994f63b8bf9d190b16699cb93c0 (diff)
downloadvolse-hubzilla-ca1022675c84c862e9ae3180a47360040b24e9e2.tar.gz
volse-hubzilla-ca1022675c84c862e9ae3180a47360040b24e9e2.tar.bz2
volse-hubzilla-ca1022675c84c862e9ae3180a47360040b24e9e2.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']);