X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fsecurity_roles.php;h=4b438091f237794d6cfce657ea247aed74b7f2a1;hb=13fae1ba1d78cff66e326a006be2f538dd404248;hp=2905f30fab624688209defa1cb69180b0f74b67c;hpb=b15b3e9a08ed3bc34fe859d08f853c59c4ec1c10;p=fa-stable.git diff --git a/admin/security_roles.php b/admin/security_roles.php index 2905f30f..4b438091 100644 --- a/admin/security_roles.php +++ b/admin/security_roles.php @@ -147,9 +147,6 @@ if (!isset($_POST['role']) || get_post('clone') || list_updated('role')) { $row = get_security_role($id); $_POST['description'] = $row['description']; $_POST['name'] = $row['role']; -// if ($row['inactive'] -// $_POST['inactive'] = 1; - $_POST['inactive'] = $row['inactive']; $access = $row['areas']; $sections = $row['sections']; @@ -214,8 +211,6 @@ end_table(1); $ext = $newext; $sec = $newsec; $m = $parms[0] & ~0xff; -// if(!isset($security_sections[$m])) -// display_error(sprintf("Bad section %X:", $m)); label_row($security_sections[$m].':', checkbox( null, 'Section'.$m, null, true, _("On/off set of features")), @@ -254,4 +249,3 @@ div_end(); end_form(); end_page(); -?>