on building nightly, of course also install composer dependencies

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-11-15 22:53:23 +01:00
parent c9291df345
commit 7e0073f4a3
2 changed files with 6 additions and 1 deletions

View File

@@ -64,11 +64,16 @@ jobs:
with:
php-version: '7.4'
tools: composer:v2
extensions: mbstring, xml, ctype, pdo_mysql, mysql, curl, json, zip, session, filter, posix, openssl, fileinfo, bcmath, gmp, gnupg
- name: Install composer dependencies
run: composer install --no-dev
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install npm dependencies
run: npm install

View File

@@ -259,7 +259,7 @@ class Data
if (preg_match($fielddata['string_regexp'], $newfieldvalue)) {
$returnvalue = true;
}
} else if (preg_match('/^[^\0]*$/', $newfieldvalue)) {
} elseif (preg_match('/^[^\0]*$/', $newfieldvalue)) {
$returnvalue = true;
}