Fixed sql fail in snmp console TICKETS #3504
This commit is contained in:
parent
5756d7281e
commit
57190faf76
|
@ -201,6 +201,14 @@ switch ($config["dbtype"]) {
|
|||
break;
|
||||
}
|
||||
|
||||
if (empty ($address_by_user_groups)) {
|
||||
$address_by_user_groups = array ();
|
||||
array_unshift ($address_by_user_groups, "\"\"");
|
||||
}
|
||||
if (empty ($all_address_agents)) {
|
||||
$all_address_agents = array ();
|
||||
array_unshift ($all_address_agents, "\"\"");
|
||||
}
|
||||
|
||||
//Make query to extract traps of DB.
|
||||
switch ($config["dbtype"]) {
|
||||
|
|
Loading…
Reference in New Issue