From 147ad2ac58bd30d88140f9f1930eed8ab16ff74f Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 27 Apr 2021 10:31:17 +0200 Subject: [PATCH] Fix file check of `database` instruction when using DevTools --- .../install/files/lib/acp/form/DevtoolsProjectAddForm.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/acp/form/DevtoolsProjectAddForm.class.php b/wcfsetup/install/files/lib/acp/form/DevtoolsProjectAddForm.class.php index 8008b9cd12..947261e82d 100644 --- a/wcfsetup/install/files/lib/acp/form/DevtoolsProjectAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/DevtoolsProjectAddForm.class.php @@ -828,6 +828,7 @@ class DevtoolsProjectAddForm extends AbstractFormBuilderForm break; + case 'database': case 'script': // only PHP files are supported for file-based pips if (\substr($value, -4) !== '.php') { -- 2.20.1