aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/pnp/files/patch-share__pnp__include__fpdi.php
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/pnp/files/patch-share__pnp__include__fpdi.php')
-rw-r--r--net-mgmt/pnp/files/patch-share__pnp__include__fpdi.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/pnp/files/patch-share__pnp__include__fpdi.php b/net-mgmt/pnp/files/patch-share__pnp__include__fpdi.php
new file mode 100644
index 000000000000..dc3061fffca1
--- /dev/null
+++ b/net-mgmt/pnp/files/patch-share__pnp__include__fpdi.php
@@ -0,0 +1,11 @@
+--- ./share/pnp/include/fpdi.php.orig 2010-05-29 23:27:44.000000000 +0200
++++ ./share/pnp/include/fpdi.php 2010-05-29 23:27:44.000000000 +0200
+@@ -93,7 +93,7 @@
+ $fn =& $this->current_filename;
+
+ if (!isset($this->parsers[$fn]))
+- $this->parsers[$fn] =& new fpdi_pdf_parser($fn,$this);
++ $this->parsers[$fn] = new fpdi_pdf_parser($fn,$this);
+ $this->current_parser =& $this->parsers[$fn];
+
+ return $this->parsers[$fn]->getPageCount();