diff options
Diffstat (limited to '114.patch')
-rw-r--r-- | 114.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/114.patch b/114.patch deleted file mode 100644 index 80daf16..0000000 --- a/114.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 0a8cc92ce6dc1730404e255469082b085b55e84f Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Fri, 13 Sep 2019 14:45:45 +0200 -Subject: [PATCH] Fix Using array_key_exists() on objects is deprecated - ---- - src/Translator/Loader/Gettext.php | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Translator/Loader/Gettext.php b/src/Translator/Loader/Gettext.php -index 2a23d5df..7bef31d2 100644 ---- a/src/Translator/Loader/Gettext.php -+++ b/src/Translator/Loader/Gettext.php -@@ -139,7 +139,7 @@ public function load($locale, $filename) - } - - // Read header entries -- if (array_key_exists('', $textDomain)) { -+ if (isset($textDomain[''])) { - $rawHeaders = explode("\n", trim($textDomain[''])); - - foreach ($rawHeaders as $rawHeader) { |