diff --git a/encoder/app.php b/encoder/app.php index 861015d..9e41793 100644 --- a/encoder/app.php +++ b/encoder/app.php @@ -92,19 +92,23 @@ function getValue($data, $key)
- - - -
Current:
- +
+ + + +
Current:
+ +
- - - -
Current:
- +
+ + + +
Current:
+ +
@@ -151,10 +155,6 @@ function getValue($data, $key) ]; $data_to_save = []; - foreach ($text_for_save as $field) { // Note: fixed variable name from previous logic - // ... (logic remains same) - } - // Re-implementing the logic correctly for the snippet foreach ($text_fields as $field) { $data_to_save[$field] = $_POST[$field] ?? ''; }