Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 3362-3364 (lines=3) @@
3359
        }
3360
3361
        $limitCondition = null;
3362
        if (!empty($start) && !empty($limit)) {
3363
            $limitCondition = " LIMIT ".intval($start).", ".intval($limit);
3364
        }
3365
3366
        $keywordCondition = null;
3367

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

@@ 3317-3319 (lines=3) @@
3314
        }
3315
3316
        $limitCondition = null;
3317
        if (!empty($start) && !empty($limit)) {
3318
            $limitCondition = " LIMIT " . intval($start) . ", " . intval($limit);
3319
        }
3320
3321
        if (empty($orderCondition)) {
3322
            $orderCondition = " ORDER BY s.name ";