main/work/work.lib.php 1 location
|
@@ 4465-4469 (lines=5) @@
|
| 4462 |
|
); |
| 4463 |
|
} else { |
| 4464 |
|
$limitString = null; |
| 4465 |
|
if (!empty($start) && !empty($limit)) { |
| 4466 |
|
$start = intval($start); |
| 4467 |
|
$limit = intval($limit); |
| 4468 |
|
$limitString = " LIMIT $start, $limit"; |
| 4469 |
|
} |
| 4470 |
|
|
| 4471 |
|
$orderBy = null; |
| 4472 |
|
|
main/inc/lib/groupmanager.lib.php 1 location
|
@@ 1034-1038 (lines=5) @@
|
| 1031 |
|
$sql .= " ORDER BY $column $direction"; |
| 1032 |
|
} |
| 1033 |
|
|
| 1034 |
|
if (!empty($start) && !empty($limit)) { |
| 1035 |
|
$start = intval($start); |
| 1036 |
|
$limit = intval($limit); |
| 1037 |
|
$sql .= " LIMIT $start, $limit"; |
| 1038 |
|
} |
| 1039 |
|
$res = Database::query($sql); |
| 1040 |
|
$users = array(); |
| 1041 |
|
while ($obj = Database::fetch_object($res)) { |