Merge pull request 'update-incoming-version' (!6) from update-incoming-version into master
gitea/vn-asterisk/pipeline/head There was a failure building this commit Details

Reviewed-on: #6
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
This commit is contained in:
David Domenech 2025-03-28 12:22:43 +00:00
commit 5e70a69ac0
1 changed files with 1 additions and 3 deletions

View File

@ -78,9 +78,7 @@ if ($clientId) {
$client = $db->getObject(
'SELECT d.pbxQueue, c.id, d.notificationEmail
FROM vn.client c
JOIN vn.worker w ON w.id = c.salesPersonFk
JOIN vn.business b ON b.id = w.businessFk
JOIN vn.department d ON d.id = b.departmentFk
JOIN vn.department d ON d.id = c.departmentFk
WHERE c.id= #',[$clientId]
);