aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-29 21:25:19 -0700
committerfriendica <info@friendica.com>2014-05-29 21:25:19 -0700
commit832cbbec15ae2abbd04d775e4cfb056e797722f1 (patch)
tree157792443a0eb07be3cbeb4e805d0e18ba17df53 /include/ItemObject.php
parent22ed5b1d03314d2bc7ff41b4724526fe00472904 (diff)
downloadvolse-hubzilla-832cbbec15ae2abbd04d775e4cfb056e797722f1.tar.gz
volse-hubzilla-832cbbec15ae2abbd04d775e4cfb056e797722f1.tar.bz2
volse-hubzilla-832cbbec15ae2abbd04d775e4cfb056e797722f1.zip
testing new event code
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index ad2692624..b6a9a2897 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -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()) {