Code Duplication    Length = 3-3 lines in 2 locations

main/inc/lib/tracking.lib.php 1 location

@@ 3228-3230 (lines=3) @@
3225
        }
3226
3227
        $limitCondition = null;
3228
        if (!empty($start) && !empty($limit)) {
3229
            $limitCondition = " LIMIT ".intval($start).", ".intval($limit);
3230
        }
3231
3232
        $keywordCondition = null;
3233

main/inc/lib/sessionmanager.lib.php 1 location

@@ 3209-3211 (lines=3) @@
3206
        }
3207
3208
        $limitCondition = null;
3209
        if (!empty($start) && !empty($limit)) {
3210
            $limitCondition = " LIMIT " . intval($start) . ", " . intval($limit);
3211
        }
3212
3213
        if (empty($orderCondition)) {
3214
            $orderCondition = " ORDER BY s.name ";