Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2022-07-01 19:51:55 +0300
committerAleksander Machniak <alec@alec.pl>2022-07-01 19:51:55 +0300
commit22e3373493f5c91db8548f605be6eec0842ea7ca (patch)
tree08f08bdc1e9b7b22fd1af7d38c6205783ad94124 /bin
parentcf9137c057102347581a19b2030f5bd1fa280aea (diff)
Fix PHP warning in bin/updatedb.sh
Diffstat (limited to 'bin')
-rwxr-xr-xbin/updatedb.sh2
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]);