2010-03-05 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/module_manager_editor_common.php: fix the type for when
	ajax load by form editor in modules policies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-03-05 11:32:17 +00:00
parent 16b5a1277f
commit 82f36884fb
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php: fix the type for when
ajax load by form editor in modules policies.
2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: clean source code delete obsolete unused

View File

@ -129,13 +129,20 @@ if ($id_agent_module) {
$table_simple->data[1][1] = '<em>'.get_moduletype_description ($id_module_type).'</em>';
}
else {
if (isset($id_module_type)) {
$idModuleType = $id_module_type;
}
else {
$idModuleType = '';
}
$sql = sprintf ('SELECT id_tipo, descripcion
FROM ttipo_modulo
WHERE categoria IN (%s)
ORDER BY descripcion',
implode (',', $categories));
$table_simple->data[1][1] = print_select_from_sql ($sql, 'id_module_type',
'', '', '', '', true, false, false, $disabledBecauseInPolicy);
$idModuleType, '', '', '', true, false, false, $disabledBecauseInPolicy);
}
$table_simple->data[1][2] = __('Module group');