Update sql_query_result.php

This commit is contained in:
FusionPBX 2019-08-09 09:55:24 -06:00 committed by GitHub
parent db46d5ac30
commit feb7f845cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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';
}
}
}