main/inc/lib/usermanager.lib.php 1 location
|
@@ 3945-3949 (lines=5) @@
|
| 3942 |
|
|
| 3943 |
|
$limitCondition = null; |
| 3944 |
|
|
| 3945 |
|
if (isset($from) && isset($numberItems)) { |
| 3946 |
|
$from = intval($from); |
| 3947 |
|
$numberItems = intval($numberItems); |
| 3948 |
|
$limitCondition = "LIMIT $from, $numberItems"; |
| 3949 |
|
} |
| 3950 |
|
|
| 3951 |
|
$column = Database::escape_string($column); |
| 3952 |
|
$direction = in_array(strtolower($direction), array('asc', 'desc')) ? $direction : null; |
main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 4963-4967 (lines=5) @@
|
| 4960 |
|
|
| 4961 |
|
$limitCondition = null; |
| 4962 |
|
|
| 4963 |
|
if (isset($from) && isset($numberItems)) { |
| 4964 |
|
$from = intval($from); |
| 4965 |
|
$numberItems = intval($numberItems); |
| 4966 |
|
$limitCondition = "LIMIT $from, $numberItems"; |
| 4967 |
|
} |
| 4968 |
|
|
| 4969 |
|
$urlId = api_get_current_access_url_id(); |
| 4970 |
|
|