From d67a5d60c64f09af5457b97f2f5c71767f7cffa5 Mon Sep 17 00:00:00 2001 From: Heiko Wilknitz Date: Sun, 17 Mar 2024 16:45:41 +0100 Subject: [PATCH] Update 2.2.20240317 --- Abfall_IO/module.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Abfall_IO/module.php b/Abfall_IO/module.php index 72a619a..c0838d8 100644 --- a/Abfall_IO/module.php +++ b/Abfall_IO/module.php @@ -596,15 +596,15 @@ protected function OnChangeClient($id) $this->SendDebug(__FUNCTION__, $io); // Bad fix for cities only!!! if ($io[self::IO_ACTION] == self::ACTION_STREET) { - $this->SendDebug(__FUNCTION__,'Hide place & district'); + $this->SendDebug(__FUNCTION__, 'Hide place & district'); $this->UpdateFormField('placeID', 'visible', false); $this->UpdateFormField('districtID', 'visible', false); // Fix Options if ($io[self::IO_PLACE] == '') { - $this->SendDebug(__FUNCTION__,'Place == null'); + $this->SendDebug(__FUNCTION__, 'Place == null'); $this->UpdateFormField('placeID', 'value', 'null'); } else { - $this->SendDebug(__FUNCTION__,'Place == ' . $io[self::IO_PLACE]); + $this->SendDebug(__FUNCTION__, 'Place == ' . $io[self::IO_PLACE]); $options[] = ['caption' => $this->Translate('Please select ...') . str_repeat(' ', 79), 'value' => $io[self::IO_PLACE]]; $this->UpdateFormField('placeID', 'options', json_encode($options)); $this->UpdateFormField('placeID', 'value', $io[self::IO_PLACE]); @@ -1027,7 +1027,7 @@ protected function ExecuteAction(&$io) $this->SendDebug(__FUNCTION__, 'Hidden: ' . $name . ':' . $value); } $inputs = $res->query("//input[@type='text']"); - foreach($inputs as $input){ + foreach ($inputs as $input) { $items = []; $name = $input->getAttribute('name'); $action = $input->getAttribute('awk-data-onchange-submit-waction');