mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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;
|
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.
|
//Make query to extract traps of DB.
|
||||||
switch ($config["dbtype"]) {
|
switch ($config["dbtype"]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user