From 2b5b3273e2f59a9236368664064532a5c403fc8b Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 24 May 2022 20:52:03 -0700 Subject: [PATCH] Strip quote marks from env_values Signed-off-by: snipe --- upgrade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/upgrade.php b/upgrade.php index 3c0ec4cbdb..c1071bb4b5 100644 --- a/upgrade.php +++ b/upgrade.php @@ -59,6 +59,10 @@ foreach ($env as $line_num => $line) { $env_value = trim($env_value); + // Strip out the quote marks if there are any + $env_value = str_replace('"', '',$env_value); + $env_value = str_replace("'", '',$env_value); + /** * We set this $app_environment here to determine which version of composer to use, --no-dev or with dev dependencies.