Update sql_query_result.php

This commit is contained in:
FusionPBX 2019-08-09 09:55:24 -06:00 committed by GitHub
parent 6eddeefe95
commit 5a46d98da6
1 changed files with 15 additions and 16 deletions

View File

@ -121,7 +121,6 @@
$footer = "<body>\n";
$footer .= "<html>\n";
if ($sql_type == '') {
echo $header;
@ -250,7 +249,7 @@
if (is_array($column_array)) {
foreach ($column_array as $column) {
if ($column != "menuid" && $column != "menuparentid") {
$values[] = $row[$column] != '' ? "'".escape($row[$column])."'" : 'null';
$values[] = $row[$column] != '' ? "'".escape(check_str($row[$column]))."'" : 'null';
}
}
}