X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fevents.php;h=50ffd41a4276be549059f0d132d591bd2473d939;hb=eaf5647217c0c9a9b1ccee7296dcb093bc84aa49;hp=291535df34b6d15f3bf2060a0b7e60766e1b76d9;hpb=0668b2dfd57a1b246d179c13978a14308b6b23ef;p=friendica.git diff --git a/mod/events.php b/mod/events.php index 291535df34..50ffd41a42 100644 --- a/mod/events.php +++ b/mod/events.php @@ -216,10 +216,10 @@ function events_post(App $a) exit(); } - $item_id = Event::store($datarray); + $uri_id = Event::store($datarray); if (!$cid) { - Worker::add(PRIORITY_HIGH, "Notifier", Delivery::POST, $item_id); + Worker::add(PRIORITY_HIGH, "Notifier", Delivery::POST, (int)$uri_id, (int)$uid); } DI::baseUrl()->redirect('events');