From 7b6837bbf77b3ed9306dddeabb37cb3f980378ba Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 5 May 2015 05:45:42 +0000 Subject: [PATCH] Show only sip profiles that are enabled on the Status -> SIP status. --- app/sip_status/sip_status.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/sip_status/sip_status.php b/app/sip_status/sip_status.php index a146c720d5..029f979e55 100644 --- a/app/sip_status/sip_status.php +++ b/app/sip_status/sip_status.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2012 + Portions created by the Initial Developer are Copyright (C) 2008-2015 the Initial Developer. All Rights Reserved. Contributor(s): @@ -102,6 +102,7 @@ if ($_GET['a'] == "download") { //get the sip profiles $sql = "select sip_profile_name from v_sip_profiles "; + $sql .= "where sip_profile_enabled = 'true' "; $sql .= "order by sip_profile_name asc "; $prep_statement = $db->prepare(check_sql($sql)); $prep_statement->execute();