summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index 0c598d969..d63706b86 100755
--- a/update.php
+++ b/update.php
@@ -269,7 +269,7 @@
if (isset($options["update-schema"])) {
if (Config::is_migration_needed()) {
- if (!isset($options['force-yes']) || $options["update-schema"] != "force-yes") {
+ if (!isset($options['force-yes']) && $options["update-schema"] != "force-yes") {
Debug::log("Type 'yes' to continue.");
if (read_stdin() != 'yes')