2011-02-14 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_db.php: fixed the module search.
	
	Fixes: #3181086



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-02-14 17:57:51 +00:00
parent eeaaf8171a
commit 2fc07a85ed
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed the module search.
Fixes: #3181086
2011-02-14 Javier Lanz <javier.lanz@artica.es>
* godmode/reporting/reporting_builder.main.php: Table size changed to 90%
* godmode/reporting/reporting_builder.item_editor.php: Fixed a small

View File

@ -738,6 +738,9 @@ function get_agent_modules ($id_agent, $details = false, $filter = false, $index
if ($value[0] == '%') {
array_push ($fields, $field.' LIKE "'.$value.'"');
}
else if ($value[0] . $value[1] == '<>') {
array_push($fields, $field.' <> ' . substr($value, 2));
}
else if (substr($value, -1) == '%') {
array_push ($fields, $field.' LIKE "'.$value.'"');
}