2010-10-13 Sergio Martin <sergio.martin@artica.es>

* include/functions_db.php: Fixed a SQL query with
	the safe_output function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-10-13 15:40:51 +00:00
parent d044abe8f7
commit 2f30a24b49
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-10-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Fixed a SQL query with
the safe_output function
2010-10-12 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_add_action_alerts.php,

View File

@ -673,6 +673,7 @@ function get_agent_modules ($id_agent, $details = false, $filter = false, $index
($details != '*' && $indexed) ? 'id_agente_modulo,' : '',
implode (",", (array) $details),
$where);
$sql = safe_output($sql);
$result = get_db_all_rows_sql ($sql);
if (empty ($result)) {