projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
767cd3a
)
Fixed deprecated each() function in PHP 7.2 (fpdi.php). @apmuthu.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 26 Oct 2018 07:14:24 +0000
(09:14 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 26 Oct 2018 07:14:24 +0000
(09:14 +0200)
reporting/includes/fpdi/fpdi.php
patch
|
blob
|
history
diff --git
a/reporting/includes/fpdi/fpdi.php
b/reporting/includes/fpdi/fpdi.php
index 4b78389d60bc0e40c2a795d07c4bc40a5ee907dd..d9ab7ced482db3fc0c18b413398c101b3e693be9 100644
(file)
--- a/
reporting/includes/fpdi/fpdi.php
+++ b/
reporting/includes/fpdi/fpdi.php
@@
-393,7
+393,7
@@
class FPDI extends FPDF_TPL {
reset ($value[1]);
-
while (list($k, $v) = each($value[1])
) {
+
foreach ($value[1] as $k => $v
) {
$this->_out($k . " ",false);
$this->pdf_write_value($v);
}