Add support for the new sip profiles enabled field.

This commit is contained in:
Mark Crane
2015-05-02 05:08:41 +00:00
parent 3d654ad634
commit 614f7f3165
4 changed files with 71 additions and 48 deletions

View File

@@ -2766,6 +2766,7 @@ if (!function_exists('save_sip_profile_xml')) {
//get the sip profiles from the database
$sql = "select * from v_sip_profiles ";
$sql .= "where sip_profile_enabled = 'true' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll();