|
@@ 1509-1511 (lines=3) @@
|
| 1506 |
|
|
| 1507 |
|
$where = array(); |
| 1508 |
|
|
| 1509 |
|
if (isset($this->organization)) { |
| 1510 |
|
$where[] = 'a.id_organization='.$babDB->quote($this->organization->id).''; |
| 1511 |
|
} |
| 1512 |
|
|
| 1513 |
|
if (isset($this->collection)) { |
| 1514 |
|
$where[] = 'a.id_coll='.$babDB->quote($this->collection->id).''; |
|
@@ 1513-1515 (lines=3) @@
|
| 1510 |
|
$where[] = 'a.id_organization='.$babDB->quote($this->organization->id).''; |
| 1511 |
|
} |
| 1512 |
|
|
| 1513 |
|
if (isset($this->collection)) { |
| 1514 |
|
$where[] = 'a.id_coll='.$babDB->quote($this->collection->id).''; |
| 1515 |
|
} |
| 1516 |
|
|
| 1517 |
|
if (isset($this->right)) { |
| 1518 |
|
$query .= ', absences_users_rights ur'; |