MDL-60301 libraries: PHP7.2 compatibility fix

This commit is contained in:
Ankit Agarwal
2017-10-04 08:02:51 +05:30
parent 61cef46120
commit d041a0b71f
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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)