Merge pull request #4201 from annando/commenting-on-tags

Commenting on postings from tags on the network page does work now
This commit is contained in:
Hypolite Petovan 2018-01-10 16:13:53 -05:00 committed by GitHub
commit b007f586dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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;
}