Commit bb980581 authored by Mario's avatar Mario

fix undefined constant

parent 05966c8b
......@@ -864,7 +864,7 @@ function diaspora_post_local(&$item) {
}
}
}
elseif(activity_match($item['verb'], [ ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTVITY_ATTENDMAYBE ])) {
elseif(activity_match($item['verb'], [ ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE ])) {
if(activity_match($item['obj_type'], [ ACTIVITY_OBJ_NOTE ])) {
$status = 'tentative';
if(activity_match($item['verb'], [ ACTIVITY_ATTEND ]))
......@@ -1261,4 +1261,4 @@ function diaspora_create_event($ev, $author) {
return $ret;
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment