From 152bbad1b8911400cf57549aba01bb3483b0a938 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 30 Jun 2015 15:35:23 +0000 Subject: [PATCH] Prevent a fax problem when current user is in both the admin and also in the user group. --- 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 2c7b72dcc7..2e5ab6398a 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -616,7 +616,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " \n"; echo " \n"; - if (if_group("user")) { + if (!permission_exists('fax_extension_delete')) { echo "\n"; echo "\n";