]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #4201 from annando/commenting-on-tags
authorHypolite Petovan <mrpetovan@gmail.com>
Wed, 10 Jan 2018 21:13:53 +0000 (16:13 -0500)
committerGitHub <noreply@github.com>
Wed, 10 Jan 2018 21:13:53 +0000 (16:13 -0500)
Commenting on postings from tags on the network page does work now

src/Object/Post.php

index 9ef00949f4f14d27f3ab81de8e3b688d0064232f..260afa66299fada73b4ded2c03e2e16c4decbd32 100644 (file)
@@ -768,7 +768,7 @@ class Post extends BaseObject
                        $uid = $conv->getProfileOwner();
                        $parent_uid = $this->getDataValue('uid');
 
-                       if (!empty($parent_uid) && empty($uid) && ($uid != $parent_uid)) {
+                       if (!is_null($parent_uid) && ($uid != $parent_uid)) {
                                $uid = $parent_uid;
                        }