Merge branch 'ent-6422-10782-Error-entity-en-informe-SQL-query' into 'develop'

SQL query do not need to be cleaned

Closes pandora_enterprise#6422

See merge request artica/pandorafms!3496
This commit is contained in:
Daniel Rodriguez 2020-11-30 17:26:15 +01:00
commit f861744229
2 changed files with 9 additions and 2 deletions

View File

@ -1905,7 +1905,14 @@ $class = 'databox filters';
</tr>
<tr id="row_query" style="" class="datos">
<td style="font-weight:bold;"><?php echo __('SQL query'); ?></td>
<td style="font-weight:bold;">
<?php
echo __('SQL query').ui_print_help_tip(
__('The entities of the fields that contain them must be included.'),
true
);
?>
</td>
<td style="" id="sql_entry">
<?php
html_print_textarea('sql', 5, 25, $sql_query_report);

View File

@ -5904,7 +5904,7 @@ function reporting_sql($report, $content)
)
);
} else {
$sql = io_safe_output($content['external_source']);
$sql = $content['external_source'];
}
// Check if exist sql macro