Code Duplication    Length = 2-2 lines in 2 locations

includes/librairies/HTML2PDF/html2pdf.class.php 2 locations

@@ 4958-4959 (lines=2) @@
4955
                        // hauteur de la ligne tr
4956
                        $h = 0;
4957
                        for ($i=0; $i<count(HTML2PDF::$_tables[$param['num']]['cases'][$tr]); $i++)
4958
                            if (HTML2PDF::$_tables[$param['num']]['cases'][$tr][$i]['rowspan']==1)
4959
                                $h = max($h, HTML2PDF::$_tables[$param['num']]['cases'][$tr][$i]['h']);
4960
                        HTML2PDF::$_tables[$param['num']][$mode]['height']+= $h;
4961
                    }
4962
                }
@@ 5013-5014 (lines=2) @@
5010
                    for ($i=0; $i<count(HTML2PDF::$_tables[$param['num']]['cases'][$k]); $i++) {
5011
                        $h = max($h, HTML2PDF::$_tables[$param['num']]['cases'][$k][$i]['h']);
5012
5013
                        if (HTML2PDF::$_tables[$param['num']]['cases'][$k][$i]['rowspan']==1)
5014
                            $th = max($th, HTML2PDF::$_tables[$param['num']]['cases'][$k][$i]['h']);
5015
                    }
5016
5017
                    // if the row does not fit on the page => new page