mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix. Do not display error message if exesute returns 0 (#1939)
This commit is contained in:
committed by
FusionPBX
parent
20fc3488e0
commit
730d9abb18
@@ -49,7 +49,7 @@
|
||||
$sql = "delete from v_group_permissions where ";
|
||||
$sql .= "group_name = '".$unprotected_group_name."' ";
|
||||
$sql .= "and domain_uuid ".(($unprotected_domain_uuid != '') ? " = '".$unprotected_domain_uuid."' " : " is null ");
|
||||
if (!$db->exec($sql)) {
|
||||
if (false === $db->exec($sql)) {
|
||||
//echo $db->errorCode() . "<br>";
|
||||
$info = $db->errorInfo();
|
||||
print_r($info);
|
||||
|
||||
Reference in New Issue
Block a user