From 13ec66548f0d9ce2661d109e76868368e413db07 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Fri, 1 Nov 2024 18:58:53 +0200 Subject: [PATCH] Typo fix --- app/classes/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/config.php b/app/classes/config.php index 2c810b1..d2ab502 100644 --- a/app/classes/config.php +++ b/app/classes/config.php @@ -15,7 +15,7 @@ class Config { // we look for 'option' => value // option is always in single quotes // value is without quotes, because it could be true/false - $patterm = "/(['\"]{$key}['\"]\s*=>\s*)([^,]+),/"; + $pattern = "/(['\"]{$key}['\"]\s*=>\s*)([^,]+),/"; // prepare the value and replace it $replacementValue = var_export($newValue, true);