testing new event code

This commit is contained in:
friendica
2014-05-29 21:25:19 -07:00
parent 22ed5b1d03
commit 832cbbec15
4 changed files with 14 additions and 64 deletions

View File

@@ -201,7 +201,7 @@ class Item extends BaseObject {
}
$has_event = false;
if(activity_compare($item['obj_type'],ACTIVITY_OBJ_EVENT) && $conv->get_profile_owner() == local_user())
if(($item['obj_type'] === ACTIVITY_OBJ_EVENT) && $conv->get_profile_owner() == local_user())
$has_event = true;
if($this->is_commentable()) {