diff options
Diffstat (limited to 'mod/events.php')
-rwxr-xr-x | mod/events.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/events.php b/mod/events.php index 8bf8c6ce1..126460e9a 100755 --- a/mod/events.php +++ b/mod/events.php @@ -125,9 +125,10 @@ function events_post(&$a) { $datarray['created'] = $created; $datarray['edited'] = $edited; - $item_id = event_store($datarray); + $event = event_store_event($datarray); + $item_id = event_store_item($datarray,$event); - if(! $cid) + if($share) proc_run('php',"include/notifier.php","event","$item_id"); } |