diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2011-09-26 12:42:11 +0200 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2011-09-26 12:42:11 +0200 |
commit | 804dfcf6c4b5b6380d607c8ec6b843d56ac82247 (patch) | |
tree | cc81ecb76a5f1422100d521b9fe3b93166fcdf3e /actions/event_calendar/edit.php | |
parent | 6b20e80c9d577a3eeeb570a6d9fd706fe619709b (diff) | |
download | elgg-804dfcf6c4b5b6380d607c8ec6b843d56ac82247.tar.gz elgg-804dfcf6c4b5b6380d607c8ec6b843d56ac82247.tar.bz2 |
major changes for Elgg 1.8
Diffstat (limited to 'actions/event_calendar/edit.php')
-rw-r--r-- | actions/event_calendar/edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/event_calendar/edit.php b/actions/event_calendar/edit.php index 2365d3965..0cc956d73 100644 --- a/actions/event_calendar/edit.php +++ b/actions/event_calendar/edit.php @@ -29,9 +29,9 @@ if ($event) { } else { $event_calendar_autopersonal = elgg_get_plugin_setting('autopersonal', 'event_calendar'); if (!$event_calendar_autopersonal || ($event_calendar_autopersonal == 'yes')) { - event_calendar_add_personal_event($event_guid,$user_guid); + event_calendar_add_personal_event($event->guid,$user_guid); } - add_to_river('river/object/event_calendar/create','create',$user_guid,$event_guid); + add_to_river('river/object/event_calendar/create','create',$user_guid,$event->guid); system_message(elgg_echo('event_calendar:add_event_response')); } |