diff --git a/incoming.php b/incoming.php index cb5f793..e89de49 100755 --- a/incoming.php +++ b/incoming.php @@ -64,7 +64,7 @@ if ($client) { $extension = $db->getValue( 'SELECT d.pbxQueue - FROM vn.worker w + FROM vn.worker w JOIN vn.business b ON b.id = w.businessFk JOIN vn.department d ON d.id = b.departmentFk WHERE w.id = #',[$client]