From 26fc8f1b9e67266432df5c0eef2c12acfbf0eb64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Kr=C3=B6g?= Date: Sun, 21 Apr 2024 15:30:31 +0200 Subject: [PATCH] Fix editing column where only virtuality changed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this the column wasn't detected as changed and thus not included in the alter statement. Signed-off-by: Maximilian Krög --- libraries/classes/Controllers/Table/Structure/SaveController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/classes/Controllers/Table/Structure/SaveController.php b/libraries/classes/Controllers/Table/Structure/SaveController.php index fd7a4e575e..1fd5bdea89 100644 --- a/libraries/classes/Controllers/Table/Structure/SaveController.php +++ b/libraries/classes/Controllers/Table/Structure/SaveController.php @@ -353,6 +353,7 @@ final class SaveController extends AbstractController 'field_length', 'field_null', 'field_type', + 'field_virtuality', ]; foreach ($fields as $field) { if ($_POST[$field][$i] != $_POST[$field . '_orig'][$i]) {