Error fixes related with the improved oracle compatibility

This commit is contained in:
Alejandro Gallardo Escobar 2015-05-19 19:21:05 +02:00
parent 837667b441
commit 143243636c
1 changed files with 2 additions and 2 deletions

View File

@ -2622,8 +2622,8 @@ function reporting_alert_report_module($report, $content) {
$return["date"] = reporting_get_date_text($report, $content); $return["date"] = reporting_get_date_text($report, $content);
$alerts = db_get_all_rows_sql('SELECT *, t1.id as id_alert_template_module $alerts = db_get_all_rows_sql('SELECT *, t1.id as id_alert_template_module
FROM talert_template_modules AS t1 FROM talert_template_modules t1
INNER JOIN talert_templates AS t2 ON t1.id_alert_template = t2.id INNER JOIN talert_templates t2 ON t1.id_alert_template = t2.id
WHERE id_agent_module = ' . $content['id_agent_module']); WHERE id_agent_module = ' . $content['id_agent_module']);
if ($alerts === false) { if ($alerts === false) {