Update sip_profiles.php

This commit is contained in:
FusionPBX 2018-07-05 14:25:14 -06:00 committed by GitHub
parent d43495a553
commit 96772fee41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$sip_profiles = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($sip_profiles as &$row) { $row = array_map("escape", $row); }
foreach ($sip_profiles as $key => $row) { $sip_profiles[$key] = array_map("escape", $row); }
unset ($prep_statement, $sql);
//escape the search