|
@@ 1516-1518 (lines=3) @@
|
| 1513 |
|
|
| 1514 |
|
$where = array(); |
| 1515 |
|
|
| 1516 |
|
if (isset($this->organization)) { |
| 1517 |
|
$where[] = 'a.id_organization='.$babDB->quote($this->organization->id).''; |
| 1518 |
|
} |
| 1519 |
|
|
| 1520 |
|
if (isset($this->collection)) { |
| 1521 |
|
$where[] = 'a.id_coll='.$babDB->quote($this->collection->id).''; |
|
@@ 1520-1522 (lines=3) @@
|
| 1517 |
|
$where[] = 'a.id_organization='.$babDB->quote($this->organization->id).''; |
| 1518 |
|
} |
| 1519 |
|
|
| 1520 |
|
if (isset($this->collection)) { |
| 1521 |
|
$where[] = 'a.id_coll='.$babDB->quote($this->collection->id).''; |
| 1522 |
|
} |
| 1523 |
|
|
| 1524 |
|
if (isset($this->right)) { |
| 1525 |
|
$query .= ', absences_users_rights ur'; |