mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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];
|
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);
|
$alias = (string) db_get_value('alias', 'tmetaconsole_agent', 'id_tagente', (int) $id_agent);
|
||||||
} else {
|
} else {
|
||||||
$alias = (string) db_get_value('alias', 'tagente', 'id_agente', (int) $id_agent);
|
$alias = (string) db_get_value('alias', 'tagente', 'id_agente', (int) $id_agent);
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user