fix log message from changing event config

This commit is contained in:
msquare 2017-11-19 10:32:21 +01:00
parent ebc973bf22
commit e9a28eb20e
1 changed files with 8 additions and 3 deletions

View File

@ -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'));