diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index d7b974b3a1..a405f9e8d6 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -839,7 +839,7 @@ class calendar_uiforms extends calendar_ui { $msg = lang('Event deleted'); } - $js = "opener.location.search += (opener.location.search?'&msg=':'?msg=')+'". + $js = "opener.location += (opener.location.search?'&msg=':'?msg=')+'". addslashes($msg)."';"; } break;