main/inc/lib/usermanager.lib.php 1 location
|
@@ 4233-4237 (lines=5) @@
|
| 4230 |
|
|
| 4231 |
|
$limitCondition = ''; |
| 4232 |
|
|
| 4233 |
|
if (isset($from) && isset($numberItems)) { |
| 4234 |
|
$from = intval($from); |
| 4235 |
|
$numberItems = intval($numberItems); |
| 4236 |
|
$limitCondition = "LIMIT $from, $numberItems"; |
| 4237 |
|
} |
| 4238 |
|
|
| 4239 |
|
$column = Database::escape_string($column); |
| 4240 |
|
$direction = in_array(strtolower($direction), array('asc', 'desc')) ? $direction : null; |
main/inc/lib/sessionmanager.lib.php 1 location
|
@@ 5155-5159 (lines=5) @@
|
| 5152 |
|
|
| 5153 |
|
$limitCondition = null; |
| 5154 |
|
|
| 5155 |
|
if (isset($from) && isset($numberItems)) { |
| 5156 |
|
$from = intval($from); |
| 5157 |
|
$numberItems = intval($numberItems); |
| 5158 |
|
$limitCondition = "LIMIT $from, $numberItems"; |
| 5159 |
|
} |
| 5160 |
|
|
| 5161 |
|
$urlId = api_get_current_access_url_id(); |
| 5162 |
|
|