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

@@ 3231-3233 (lines=3) @@
3228
        }
3229
3230
        $limitCondition = null;
3231
        if (!empty($start) && !empty($limit)) {
3232
            $limitCondition = " LIMIT " . intval($start) . ", " . intval($limit);
3233
        }
3234
3235
        if (empty($orderCondition)) {
3236
            $orderCondition = " ORDER BY s.name ";