diff options
author | Aleksander Machniak <alec@alec.pl> | 2022-07-01 19:51:55 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2022-07-01 19:51:55 +0300 |
commit | 22e3373493f5c91db8548f605be6eec0842ea7ca (patch) | |
tree | 08f08bdc1e9b7b22fd1af7d38c6205783ad94124 /bin | |
parent | cf9137c057102347581a19b2030f5bd1fa280aea (diff) |
Fix PHP warning in bin/updatedb.sh
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/updatedb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/updatedb.sh b/bin/updatedb.sh index 018e72daa..133d4a4f9 100755 --- a/bin/updatedb.sh +++ b/bin/updatedb.sh @@ -36,4 +36,4 @@ if (empty($opts['package'])) { rcube::raise_error("Database schema package name not specified (--package).", false, true); } -rcmail_utils::db_update($opts['dir'], $opts['package'], $opts['version'], ['errors' => true]); +rcmail_utils::db_update($opts['dir'], $opts['package'], $opts['version'] ?? null, ['errors' => true]); |