&& ( ! $comment['member_id'] == $_SESSION['member_id'] )) this is completely wrong.
you basically executing (!a == b) where "a" and "b" are numbers. So if a = 5 and b = 6 you do (!5 ==6) which is (false == 6) comparison

I think you meant $comment['member_id'] != $_SESSION['member_id']

Also (!($owner_status = fs_authenticate($owner_type, $owner_id)) is a very dangerous code since you are assigning value to $owner_status. This is very dangerous. I think you meant $owner_status != fs_authenticate($owner_type, $owner_id