Code Duplication    Length = 3-8 lines in 2 locations

class/Utility.php 1 location

@@ 1077-1084 (lines=8) @@
1074
                              ORDER BY term
1075
                              LIMIT $start,$limit");
1076
1077
    while ($row = $xoopsDB->fetchArray($sql)) {
1078
        $xoopsTpl->append('entries', [
1079
                'id'      => $row['entryID'],
1080
                'name'    => $row['term'],
1081
                'date'    => date($xoopsModuleConfig['dateformat'], $row['datesub']),
1082
                'counter' => $row['counter']
1083
            ]);
1084
    }
1085
1086
    $navstring                = '';
1087
    $navstring                .= 'uid=' . $uid . '&start';

include/functions.php 1 location

@@ 773-775 (lines=3) @@
770
                              ORDER BY term
771
                              LIMIT $start,$limit");
772
773
    while ($row=$xoopsDB->fetchArray($sql)) {
774
        $xoopsTpl->append('entries', array('id'=>$row['entryID'],'name'=>$row['term'],'date'=>date($xoopsModuleConfig['dateformat'], $row['datesub']),'counter'=>$row['counter']));
775
    }
776
777
    $navstring = '';
778
    $navstring .= "uid=".$uid."&start";