"thing" always showing default url, not that supplied by the thing.

This commit is contained in:
redmatrix 2016-06-17 16:28:36 -07:00
parent d0f0a99909
commit c81f6b9f6f

View File

@ -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.