diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-07-02 15:30:19 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-07-02 15:30:19 +0200 |
commit | 26db9d9b978c1036f3b93f18b2bbdc928b5bd03b (patch) | |
tree | 1658c5417e9e4f7b570cd607cb6b5536f561ebfd /php-tecnickcom-tc-lib-pdf-parser-pr2.patch | |
parent | 082c0eeca57018632563b63b45592e3f79546b73 (diff) |
php-tecnickcom-tc-lib-pdf-parser: 2.1.2
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-parser-pr2.patch')
-rw-r--r-- | php-tecnickcom-tc-lib-pdf-parser-pr2.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-parser-pr2.patch b/php-tecnickcom-tc-lib-pdf-parser-pr2.patch deleted file mode 100644 index 0242702..0000000 --- a/php-tecnickcom-tc-lib-pdf-parser-pr2.patch +++ /dev/null @@ -1,22 +0,0 @@ -From b8e3ae24efd9f59f78863ca28715df0f9e73fefe Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@famillecollet.com> -Date: Thu, 2 Jul 2015 14:59:30 +0200 -Subject: [PATCH] Fix PHP < 5.5 compatibility - ---- - src/Parser.php | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Parser.php b/src/Parser.php -index cddba0b..ac3b3ed 100644 ---- a/src/Parser.php -+++ b/src/Parser.php -@@ -65,7 +65,7 @@ class Parser extends \Com\Tecnick\Pdf\Parser\Process\Xref - public function __construct($cfg = array()) - { - if (isset($cfg['ignore_filter_errors'])) { -- $this->cfg['ignore_filter_errors'] = boolval($cfg['ignore_filter_errors']); -+ $this->cfg['ignore_filter_errors'] = ($cfg['ignore_filter_errors'] ? true : false); - } - } - |