1
0
Fork 0

reduce PHP notices

Dieser Commit ist enthalten in:
Roland Gruber 2011-10-14 18:36:11 +00:00
Ursprung 331d4cdff2
Commit e352098f28
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -238,8 +238,6 @@ function MultiCell($w,$h,$txt,$border=0,$align='J',$fill=0)
{
//Get next character
$c = $this->code2utf($cp[$i]);
$charw = $cw[$cp[$i]];
if($c=="\n")
{
//Explicit line break
@ -265,7 +263,9 @@ function MultiCell($w,$h,$txt,$border=0,$align='J',$fill=0)
$ls=$l;
$ns++;
}
$l+=$charw;
if (isset($cw[$cp[$i]])) {
$l += $cw[$cp[$i]];
}
if($l>$wmax)
{