From e9a28eb20e8a16e8f6fbf1fbc9498c011a2a1940 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 19 Nov 2017 10:32:21 +0100 Subject: [PATCH] fix log message from changing event config --- includes/controller/event_config_controller.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/includes/controller/event_config_controller.php b/includes/controller/event_config_controller.php index 7d11ecb4..73e79655 100644 --- a/includes/controller/event_config_controller.php +++ b/includes/controller/event_config_controller.php @@ -101,9 +101,14 @@ function event_config_edit_controller() ); engelsystem_log( - 'Changed event config: $event_name, $event_welcome_msg, ' - . date('Y-m-d', $buildup_start_date) . ', ' . date('Y-m-d', $event_start_date) . ', ' - . date('Y-m-d', $event_end_date) . ', ' . date('Y-m-d', $teardown_end_date) + sprintf('Changed event config: %s, %s, %s, %s, %s, %s', + $event_name, + $event_welcome_msg, + date('Y-m-d', $buildup_start_date), + date('Y-m-d', $event_start_date), + date('Y-m-d', $event_end_date), + date('Y-m-d', $teardown_end_date) + ) ); success(_('Settings saved.')); redirect(page_link_to('admin_event_config'));