main/inc/lib/usermanager.lib.php 1 location
|
@@ 4236-4240 (lines=5) @@
|
| 4233 |
|
|
| 4234 |
|
$limitCondition = ''; |
| 4235 |
|
|
| 4236 |
|
if (isset($from) && isset($numberItems)) { |
| 4237 |
|
$from = intval($from); |
| 4238 |
|
$numberItems = intval($numberItems); |
| 4239 |
|
$limitCondition = "LIMIT $from, $numberItems"; |
| 4240 |
|
} |
| 4241 |
|
|
| 4242 |
|
$column = Database::escape_string($column); |
| 4243 |
|
$direction = in_array(strtolower($direction), array('asc', 'desc')) ? $direction : null; |
main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5176-5180 (lines=5) @@
|
| 5173 |
|
|
| 5174 |
|
$limitCondition = null; |
| 5175 |
|
|
| 5176 |
|
if (isset($from) && isset($numberItems)) { |
| 5177 |
|
$from = intval($from); |
| 5178 |
|
$numberItems = intval($numberItems); |
| 5179 |
|
$limitCondition = "LIMIT $from, $numberItems"; |
| 5180 |
|
} |
| 5181 |
|
|
| 5182 |
|
$urlId = api_get_current_access_url_id(); |
| 5183 |
|
|