mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: fixed the fields as sql operations as field. Fixes: #3400237 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
624c2edaff
commit
e9f5fc64cd
@ -1,3 +1,9 @@
|
||||
2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_agents.php: fixed the fields as sql operations as field.
|
||||
|
||||
Fixes: #3400237
|
||||
|
||||
2011-08-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/functions_alerts.php: Fixed alerts_get_agents_with_alert_template
|
||||
|
@ -1010,6 +1010,17 @@ function agents_get_modules ($id_agent = null, $details = false, $filter = false
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (strstr($value, '666=666', true) == '') {
|
||||
switch ($config['dbtype']) {
|
||||
case "mysql":
|
||||
case "postgresql":
|
||||
array_push ($fields, ' '.$value);
|
||||
break;
|
||||
case "oracle":
|
||||
array_push ($fields, ' '.$value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
switch ($config["dbtype"]) {
|
||||
case "mysql":
|
||||
|
Loading…
x
Reference in New Issue
Block a user