2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: added lost safe_ouput in the extract DB fields. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
94b97d1688
commit
7031e87f54
|
@ -1,3 +1,8 @@
|
||||||
|
2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/functions_visual_map.php: added lost safe_ouput in the extract
|
||||||
|
DB fields.
|
||||||
|
|
||||||
2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
|
2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_visual_map.php: added function "createInternalNameItem"
|
* include/functions_visual_map.php: added function "createInternalNameItem"
|
||||||
|
|
|
@ -966,7 +966,7 @@ function createInternalNameItem($label = null, $type, $image, $agent = null, $id
|
||||||
if (!empty($agent)) {
|
if (!empty($agent)) {
|
||||||
$text .= " (" . printTruncateText($agent, 10, false);
|
$text .= " (" . printTruncateText($agent, 10, false);
|
||||||
|
|
||||||
$moduleName = get_db_value('nombre', 'tagente_modulo', 'id_agente_modulo', $id_module);
|
$moduleName = safe_output(get_db_value('nombre', 'tagente_modulo', 'id_agente_modulo', $id_module));
|
||||||
if (!empty($moduleName)) {
|
if (!empty($moduleName)) {
|
||||||
$text .= " - " . printTruncateText($moduleName, 10, false);
|
$text .= " - " . printTruncateText($moduleName, 10, false);
|
||||||
}
|
}
|
||||||
|
@ -992,7 +992,7 @@ function get_items_parents($idVisual) {
|
||||||
foreach ($items as $item) {
|
foreach ($items as $item) {
|
||||||
$agent = null;
|
$agent = null;
|
||||||
if ($item['id_agent'] != 0) {
|
if ($item['id_agent'] != 0) {
|
||||||
$agent = get_agent_name($item['id_agent']);
|
$agent = safe_output(get_agent_name($item['id_agent']));
|
||||||
}
|
}
|
||||||
|
|
||||||
$return[$item['id']] = createInternalNameItem($item['label'],
|
$return[$item['id']] = createInternalNameItem($item['label'],
|
||||||
|
|
Loading…
Reference in New Issue