From 9ac43d1f8fa6e3cbfd417727d8dbcd30d1e0f035 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sun, 12 Jul 2020 20:41:27 +0200 Subject: [PATCH] Update main.sh --- func/main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/func/main.sh b/func/main.sh index d86d3e59..7d0f48f1 100644 --- a/func/main.sh +++ b/func/main.sh @@ -1047,8 +1047,8 @@ escape_shell_quote() { } replace_php_config_value() { - if [ ! -z $4 ]; then - if [ "$4" = "yes" ] || [ $4 -eq 1 ]; then + if [ ! -z "$4" ]; then + if [ "$4" = "yes" ] || [ "$4" = "true" ] || [ "$4" = "1" ] || [ $4 -eq 1 ]; then echo "=== Replacing $1 to $2 in $3" fi fi