diff --git a/app/call_flows/call_flow_edit.php b/app/call_flows/call_flow_edit.php
index aa1864c899..bcb8e2546f 100644
--- a/app/call_flows/call_flow_edit.php
+++ b/app/call_flows/call_flow_edit.php
@@ -112,7 +112,7 @@
//if (strlen($call_flow_name) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_name']."
\n"; }
if (strlen($call_flow_extension) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_extension']."
\n"; }
if (strlen($call_flow_feature_code) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_feature_code']."
\n"; }
- if (strlen($call_flow_context) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_context']."
\n"; }
+ //if (strlen($call_flow_context) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_context']."
\n"; }
//if (strlen($call_flow_status) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_status']."
\n"; }
//if (strlen($call_flow_pin_number) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_pin_number']."
\n"; }
//if (strlen($call_flow_label) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_label']."
\n"; }
@@ -153,7 +153,7 @@
}
//set the context for users that are not in the superadmin group
- if (!if_group("superadmin")) {
+ if (!permission_exists('call_flow_context')) {
$call_flow_context = $_SESSION['domain_name'];
}
@@ -497,17 +497,6 @@
echo "\n";
echo "\n";
- echo "