mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-24 13:40:29 +01:00
Bugfix in fpdi (external lib) rewrite of function each()
This commit is contained in:
parent
f625c4b880
commit
445ba3529c
@ -353,11 +353,17 @@ class fpdi extends fpdf_tpl {
|
||||
$this->_out("<<",false);
|
||||
|
||||
reset ($value[1]);
|
||||
|
||||
/*
|
||||
while (list($k, $v) = each($value[1])) {
|
||||
$this->_out($k . " ",false);
|
||||
$this->pdf_write_value($v);
|
||||
}
|
||||
*/
|
||||
|
||||
foreach($value[1] as $k => $v) {
|
||||
$this->_out($k . " ",false);
|
||||
$this->pdf_write_value($v);
|
||||
}
|
||||
|
||||
$this->_out(">>");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user