Browse Source

Fix PHP warning in bin/updatedb.sh

pull/8683/head
Aleksander Machniak 3 years ago
parent
commit
1902661057
  1. 2
      bin/updatedb.sh

2
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]);
Loading…
Cancel
Save