Skip to content

Commit

Permalink
Ajout d'un test sur le caractère numérique d'une valeur avant un calcul.
Browse files Browse the repository at this point in the history
  • Loading branch information
crob27 committed Nov 25, 2018
1 parent f5b7cf9 commit f1f605b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fpdf/ex_fpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ function NbLines($w,$txt)
$l+=$cw["a"];
}
*/
if(isset($cw[$c])) {
if((isset($cw[$c]))&&(is_numeric($cw[$c]))) {
$l+=$cw[$c];
}
if($l>$wmax)
Expand Down

0 comments on commit f1f605b

Please sign in to comment.