From e3eaaff21ce0daaba23fb476591828942aaceb58 Mon Sep 17 00:00:00 2001 From: Mo Farouk <122031508+fmido88@users.noreply.github.com> Date: Sat, 9 Mar 2024 14:58:48 +0200 Subject: [PATCH] cs fix --- classes/form/transactions_filter.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/classes/form/transactions_filter.php b/classes/form/transactions_filter.php index d3a5dfbb..3ff5d7e1 100644 --- a/classes/form/transactions_filter.php +++ b/classes/form/transactions_filter.php @@ -104,7 +104,11 @@ public function definition() { if ($mform->elementExists($key) && isset($types[$key])) { if (is_array($value)) { $array = clean_param_array($value, $types[$key]); - $time = make_timestamp($array['year'], $array['month'], $array['day'] ?? 1, $array['hour'] ?? 0, $array['minute'] ?? 0); + $time = make_timestamp($array['year'], + $array['month'], + $array['day'] ?? 1, + $array['hour'] ?? 0, + $array['minute'] ?? 0); $mform->setDefault($key, $time); } else { $mform->setDefault($key, clean_param($value, $types[$key]));