diff options
author | friendica <redmatrix@redmatrix.me> | 2015-04-14 20:52:07 -0700 |
---|---|---|
committer | friendica <redmatrix@redmatrix.me> | 2015-04-14 20:52:07 -0700 |
commit | 9942dec09cf5dc2ab4b2644adf3e48808443338b (patch) | |
tree | ac94ed99b5866e468d73dab70d7933ce15cfc726 | |
parent | 32acb7f6e1d7b504cb633cb951ed6d722a75182f (diff) | |
download | volse-hubzilla-9942dec09cf5dc2ab4b2644adf3e48808443338b.tar.gz volse-hubzilla-9942dec09cf5dc2ab4b2644adf3e48808443338b.tar.bz2 volse-hubzilla-9942dec09cf5dc2ab4b2644adf3e48808443338b.zip |
match parens
-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 659d0e350..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 && $arr['obj_type'] === ACTIVITY_OBJ_NOTE)) + 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']); |