From fc255818c6a2f5bccb8cb3bf588d7e2fa90ca26f Mon Sep 17 00:00:00 2001 From: markjcrane Date: Thu, 11 Feb 2016 00:19:44 -0700 Subject: [PATCH] If the user is in the superadmin or admin group and user group it was preventing the fax_forward number from being updated. --- app/fax/fax_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 81eec1b848..fb7004788c 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -820,7 +820,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " \n"; echo "
"; if ($action == "update") { - if (if_group("user")) { + if (!permission_exists('fax_extension_delete')) { echo " \n"; echo " \n"; echo " \n";