mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix database exception when loading contacts page
This commit is contained in:
@@ -115,7 +115,9 @@
|
||||
$sql .= ") ";
|
||||
}
|
||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$parameters['group_uuid'] = $_SESSION['group_uuid'] ?? '';
|
||||
if (!empty($_SESSION['group_uuid'])) {
|
||||
$parameters['group_uuid'] = $_SESSION['group_uuid'];
|
||||
}
|
||||
$result = $database->select($sql, $parameters, 'all');
|
||||
if (!empty($result)) {
|
||||
foreach($result as $row) {
|
||||
|
||||
Reference in New Issue
Block a user