diff options
author | mrjive <mrjive@mrjive.it> | 2015-04-15 11:19:25 +0200 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2015-04-15 11:19:25 +0200 |
commit | 7b467d6ca7a27bd83388627f16df96b47963c42f (patch) | |
tree | 76c7ba2286bb8cb3c031137f394cc3bd02b84c73 /include/items.php | |
parent | 865b602cf8b4eff5e7da00362df95e52e2fe4f77 (diff) | |
parent | 834044b15bf4cd3f436f065449cbc0ed76b4de93 (diff) | |
download | volse-hubzilla-7b467d6ca7a27bd83388627f16df96b47963c42f.tar.gz volse-hubzilla-7b467d6ca7a27bd83388627f16df96b47963c42f.tar.bz2 volse-hubzilla-7b467d6ca7a27bd83388627f16df96b47963c42f.zip |
Merge pull request #1 from redmatrix/master
2015-04-15_1
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index e08aab85a..01f207878 100755 --- a/include/items.php +++ b/include/items.php @@ -436,7 +436,7 @@ function post_activity_item($arr) { $arr['verb'] = ((x($arr,'verb')) ? $arr['verb'] : ACTIVITY_POST); $arr['obj_type'] = ((x($arr,'obj_type')) ? $arr['obj_type'] : ACTIVITY_OBJ_NOTE); - if($is_comment) + if(($is_comment) && ($arr['obj_type'] === ACTIVITY_OBJ_NOTE)) $arr['obj_type'] = ACTIVITY_OBJ_COMMENT; $arr['allow_cid'] = ((x($arr,'allow_cid')) ? $arr['allow_cid'] : $channel['channel_allow_cid']); |