mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-9079-Metaconsola-no-puede-sacar-queries-con-datos-historicos-de-nodo' into 'develop'
fixed access to history db from metaconsole See merge request artica/pandorafms!5032
This commit is contained in:
commit
e726a55091
@ -7079,6 +7079,10 @@ function reporting_sql($report, $content)
|
|||||||
$historical_db = db_get_value_sql(
|
$historical_db = db_get_value_sql(
|
||||||
'SELECT historical_db from treport_content where id_rc ='.$content['id_rc']
|
'SELECT historical_db from treport_content where id_rc ='.$content['id_rc']
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (is_metaconsole() === true) {
|
||||||
|
$historical_db = $content['historical_db'];
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$historical_db = $content['historical_db'];
|
$historical_db = $content['historical_db'];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user