Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 3186-3188 (lines=3) @@
3183
        }
3184
3185
        $limitCondition = null;
3186
        if (!empty($start) && !empty($limit)) {
3187
            $limitCondition = " LIMIT ".intval($start).", ".intval($limit);
3188
        }
3189
3190
        $keywordCondition = null;
3191

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

@@ 3090-3092 (lines=3) @@
3087
        }
3088
3089
        $limitCondition = null;
3090
        if (!empty($start) && !empty($limit)) {
3091
            $limitCondition = " LIMIT " . intval($start) . ", " . intval($limit);
3092
        }
3093
3094
        if (empty($orderCondition)) {
3095
            $orderCondition = " ORDER BY s.name ";