main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5470-5474 (lines=5) @@
|
| 5467 |
|
|
| 5468 |
|
$limitCondition = null; |
| 5469 |
|
|
| 5470 |
|
if (isset($from) && isset($numberItems)) { |
| 5471 |
|
$from = intval($from); |
| 5472 |
|
$numberItems = intval($numberItems); |
| 5473 |
|
$limitCondition = "LIMIT $from, $numberItems"; |
| 5474 |
|
} |
| 5475 |
|
|
| 5476 |
|
$urlId = api_get_current_access_url_id(); |
| 5477 |
|
|
main/inc/lib/usermanager.lib.php 1 location
|
@@ 4327-4331 (lines=5) @@
|
| 4324 |
|
|
| 4325 |
|
$limitCondition = ''; |
| 4326 |
|
|
| 4327 |
|
if (isset($from) && isset($numberItems)) { |
| 4328 |
|
$from = intval($from); |
| 4329 |
|
$numberItems = intval($numberItems); |
| 4330 |
|
$limitCondition = "LIMIT $from, $numberItems"; |
| 4331 |
|
} |
| 4332 |
|
|
| 4333 |
|
$column = Database::escape_string($column); |
| 4334 |
|
$direction = in_array(strtolower($direction), array('asc', 'desc')) ? $direction : null; |