aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Thing.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-17 16:28:36 -0700
committerredmatrix <git@macgirvin.com>2016-06-17 16:28:36 -0700
commitc81f6b9f6f1ab7f7dc61e5343e52d4ccedbff5a1 (patch)
treed9b83a5d5b487a834ef6a9c361e762918680b3b3 /Zotlabs/Module/Thing.php
parentd0f0a999091a275b74d23aa67478fa0b21fb9d52 (diff)
downloadvolse-hubzilla-c81f6b9f6f1ab7f7dc61e5343e52d4ccedbff5a1.tar.gz
volse-hubzilla-c81f6b9f6f1ab7f7dc61e5343e52d4ccedbff5a1.tar.bz2
volse-hubzilla-c81f6b9f6f1ab7f7dc61e5343e52d4ccedbff5a1.zip
"thing" always showing default url, not that supplied by the thing.
Diffstat (limited to 'Zotlabs/Module/Thing.php')
-rw-r--r--Zotlabs/Module/Thing.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Thing.php b/Zotlabs/Module/Thing.php
index e23cce565..65fc0588e 100644
--- a/Zotlabs/Module/Thing.php
+++ b/Zotlabs/Module/Thing.php
@@ -26,7 +26,7 @@ class Thing extends \Zotlabs\Web\Controller {
$verb = escape_tags($_REQUEST['verb']);
$activity = intval($_REQUEST['activity']);
$profile_guid = escape_tags($_REQUEST['profile_assign']);
- $url = $_REQUEST['link'];
+ $url = $_REQUEST['url'];
$photo = $_REQUEST['img'];
$hash = random_string();
@@ -235,7 +235,7 @@ class Thing extends \Zotlabs\Web\Controller {
}
- function get() {
+ function get() {
// @FIXME one problem with things is we can't share them unless we provide the channel in the url
// so we can definitively lookup the owner.