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

@@ 3240-3242 (lines=3) @@
3237
        }
3238
3239
        $limitCondition = null;
3240
        if (!empty($start) && !empty($limit)) {
3241
            $limitCondition = " LIMIT " . intval($start) . ", " . intval($limit);
3242
        }
3243
3244
        if (empty($orderCondition)) {
3245
            $orderCondition = " ORDER BY s.name ";