openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 88849b6cc8571e8dcf5c05b029b1fd5c15ae1855
parent 855824aa3c4a7667f45d7c1261421650580a3af6
Author: Jan Dankert <devnull@localhost>
Date:   Sat, 22 Dec 2018 22:14:07 +0100

Fix: Kein each() verwenden, da herabgestuft.

Diffstat:
modules/wikiparser/renderer/fpdf.php | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/wikiparser/renderer/fpdf.php b/modules/wikiparser/renderer/fpdf.php @@ -1562,7 +1562,8 @@ class FPDF { $filter=($this->compress) ? '/Filter /FlateDecode ' : ''; reset($this->images); - while(list($file,$info)=each($this->images)) + //while(list($file,$info)=each($this->images)) + foreach( $this->images as $file => $info ) { $this->_newobj(); $this->images[$file]['n']=$this->n;