MDL-60301 libraries: PHP7.2 compatibility fix
This commit is contained in:
@@ -571,7 +571,7 @@ class FPDI extends FPDF_TPL
|
||||
|
||||
reset ($value[1]);
|
||||
|
||||
while (list($k, $v) = each($value[1])) {
|
||||
foreach ($value[1] as $k => $v) {
|
||||
$this->_straightOut($k . ' ');
|
||||
$this->_writeValue($v);
|
||||
}
|
||||
|
||||
@@ -22,8 +22,9 @@ Installation
|
||||
2017/10/03
|
||||
----------
|
||||
1/ Updated to 1.6.2
|
||||
2/ Cherry-picked changes in MDL-55848
|
||||
2/ Cherry-picked changes in MDL-55848.
|
||||
3/ Renamed 'TCPDF' to 'pdf' as stated above.
|
||||
4/ Applied php7.2 compatibility fix, remove this if it is fixed in next major release (2.0) (MDL-60301).
|
||||
|
||||
Updated by Ankit Agarwal<[email protected]> (MDL-60301)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user