diff options
-rw-r--r-- | Zotlabs/Module/Thing.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Thing.php b/Zotlabs/Module/Thing.php index b44b58370..a77081741 100644 --- a/Zotlabs/Module/Thing.php +++ b/Zotlabs/Module/Thing.php @@ -55,10 +55,13 @@ class Thing extends \Zotlabs\Web\Controller { $name = escape_tags($_POST['term']); $verb = escape_tags($_POST['verb']); $activity = intval($_POST['activity']); - $profile_guid = escape_tags($_POST['profile_assign']); $url = $_POST['url']; $photo = $_POST['img']; + $profile_guid = isset($_POST['profile_assign']) + ? escape_tags($_POST['profile_assign']) + : null; + $hash = new_uuid(); $verbs = obj_verbs(); |