summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-11-19 10:32:21 +0100
committermsquare <msquare@notrademark.de>2017-11-19 10:32:21 +0100
commite9a28eb20e8a16e8f6fbf1fbc9498c011a2a1940 (patch)
treef87904f9e9c03095a2c7f7c8ed1da8d04484006d /includes
parentebc973bf221bfbde327868975221e62704e4cb99 (diff)
fix log message from changing event config
Diffstat (limited to 'includes')
-rw-r--r--includes/controller/event_config_controller.php11
1 files 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'));