Merge branch 'ent-4109-Bug-en-utilizacion-de-macro-en-report-a-traves-de-plantillas' into 'develop'
fix item name macros when using report templates See merge request artica/pandorafms!2570
This commit is contained in:
commit
e43469954a
|
@ -1531,7 +1531,7 @@ function agents_get_alias($id_agent, $case='none')
|
|||
return $cache[$case][$id_agent];
|
||||
}
|
||||
|
||||
if ($config['dbconnection_cache'] == null && is_metaconsole()) {
|
||||
if (is_metaconsole()) {
|
||||
$alias = (string) db_get_value('alias', 'tmetaconsole_agent', 'id_tagente', (int) $id_agent);
|
||||
} else {
|
||||
$alias = (string) db_get_value('alias', 'tagente', 'id_agente', (int) $id_agent);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue