Update sip_profile_edit.php

This commit is contained in:
FusionPBX
2018-07-05 14:42:31 -06:00
committed by GitHub
parent d51906a32d
commit 0a8b6bf9ca

View File

@@ -185,8 +185,8 @@
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$sip_profiles = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($sip_profiles as $key => $row) {
$sip_profiles[$key] = array_map("escape", $row);
foreach ($sip_profiles as $key => $row) { $sip_profiles[$key] = array_map("escape", $row); }
foreach ($sip_profiles as $row) {
$sip_profile_name = $row["sip_profile_name"];
$sip_profile_hostname = $row["sip_profile_hostname"];
$sip_profile_enabled = $row["sip_profile_enabled"];