From: Janusz Dobrowolski Date: Tue, 1 Sep 2009 11:23:27 +0000 (+0000) Subject: Fixed security sections update. X-Git-Tag: v2.4.2~19^2~1279 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=d1e419168006f2ff7e3ddb9add2952da2f6601f9;p=fa-stable.git Fixed security sections update. --- diff --git a/admin/security_roles.php b/admin/security_roles.php index c4667fa0..c961e76c 100644 --- a/admin/security_roles.php +++ b/admin/security_roles.php @@ -54,8 +54,8 @@ if (get_post('addupdate')) foreach($_POST as $p =>$val) { if (substr($p,0,4) == 'Area') $areas[] = substr($p, 4); - if (substr($p,0,6) == 'Section') - $sections[] = substr($p, 6); + if (substr($p,0,7) == 'Section') + $sections[] = substr($p, 7); } sort($areas); sort($sections);