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)) { |
main/work/work.lib.php 1 location
|
@@ 4472-4476 (lines=5) @@
|
4469 |
|
); |
4470 |
|
} else { |
4471 |
|
$limitString = null; |
4472 |
|
if (!empty($start) && !empty($limit)) { |
4473 |
|
$start = intval($start); |
4474 |
|
$limit = intval($limit); |
4475 |
|
$limitString = " LIMIT $start, $limit"; |
4476 |
|
} |
4477 |
|
|
4478 |
|
$orderBy = null; |
4479 |
|
|