summaryrefslogtreecommitdiff
path: root/includes/controller
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-09-27 18:42:10 +0200
committermsquare <msquare@notrademark.de>2016-09-27 18:42:10 +0200
commita083c198bb7ce8e4be871c1377e070c9ca69123b (patch)
tree614eae3a7dcff7118c040ae2960add726b2d02dd /includes/controller
parent7627721672841f1c58f2997c248f32b549d11b26 (diff)
better log when changing event config
Diffstat (limited to 'includes/controller')
-rw-r--r--includes/controller/event_config_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/controller/event_config_controller.php b/includes/controller/event_config_controller.php
index d08dc036..29a5b979 100644
--- a/includes/controller/event_config_controller.php
+++ b/includes/controller/event_config_controller.php
@@ -84,7 +84,7 @@ function event_config_edit_controller() {
if ($result === false)
engelsystem_error("Unable to update event config.");
- engelsystem_log("Changed event config: $event_name, $event_welcome_msg, $buildup_start_date, $event_start_date, $event_end_date, $teardown_end_date");
+ 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));
success(_("Settings saved."));
redirect(page_link_to('admin_event_config'));
}