2011-05-25 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_agents.php: erased lost trace in source code.
	
	* include/functions_db.php: in function "db_pandora_audit" added the check
	the exists the id_user.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4379 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-05-25 07:51:17 +00:00
parent 27392b5d64
commit 1e3661884e
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2011-05-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: erased lost trace in source code.
* include/functions_db.php: in function "db_pandora_audit" added the check
the exists the id_user.
2011-05-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: cleaned source code style.

View File

@ -1030,7 +1030,7 @@ function agents_get_modules ($id_agent = null, $details = false, $filter = false
else
$details_new[] = $detail;
}
html_debug_print($details_new,"/tmp/prueba.txt");
$details = io_safe_input ($details_new);
}
else

View File

@ -121,7 +121,10 @@ function db_pandora_audit($accion, $descripcion, $user_id = false, $ip = false,
$id = $user_id;
}
else {
$id = $config["id_user"];
if (isset($config["id_user"])) {
$id = $config["id_user"];
}
else $id = 0;
}
$accion = io_safe_input($accion);