diff options
author | Remi Collet <remi@remirepo.net> | 2019-09-26 14:28:31 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-09-26 14:28:31 +0200 |
commit | b83fd3836f5c491f37b55d23b91c6c9828272c91 (patch) | |
tree | faca4b6099abb7ee1120540f02ab982f28afb569 /114.patch | |
parent | ce2e9e5e6c3bcba4e76fd84e1b053298172b49e3 (diff) |
v2.9.1
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) { |