diff options
author | Remi Collet <remi@remirepo.net> | 2021-03-25 14:21:20 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-03-25 14:21:20 +0100 |
commit | 97c4ef81218f1de85bb2cd406e3870bf9b08278e (patch) | |
tree | 5c5d5a49b4422298e4c0a6b83c832e6f0bc63d7f /php-laminas-mvc-plugin-flashmessenger-php8.patch | |
parent | 10cc9dcf4eeed9ad129eebae7a4a337522c4dc48 (diff) |
add patch for PHP 8 from
https://github.com/laminas/laminas-mvc-plugin-flashmessenger/pull/11
Diffstat (limited to 'php-laminas-mvc-plugin-flashmessenger-php8.patch')
-rw-r--r-- | php-laminas-mvc-plugin-flashmessenger-php8.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/php-laminas-mvc-plugin-flashmessenger-php8.patch b/php-laminas-mvc-plugin-flashmessenger-php8.patch new file mode 100644 index 0000000..09ee6f0 --- /dev/null +++ b/php-laminas-mvc-plugin-flashmessenger-php8.patch @@ -0,0 +1,12 @@ +diff -up ./src/View/Helper/FlashMessenger.php.php8 ./src/View/Helper/FlashMessenger.php +--- ./src/View/Helper/FlashMessenger.php.php8 2021-03-25 14:13:31.812239965 +0100 ++++ ./src/View/Helper/FlashMessenger.php 2021-03-25 14:14:00.140131501 +0100 +@@ -332,7 +332,7 @@ class FlashMessenger extends AbstractHel + return $this->escapeHtmlHelper; + } + +- if (method_exists($this->getView(), 'plugin')) { ++ if ($this->getView() && method_exists($this->getView(), 'plugin')) { + $this->escapeHtmlHelper = $this->view->plugin('escapehtml'); + } + |