From d1e419168006f2ff7e3ddb9add2952da2f6601f9 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Tue, 1 Sep 2009 11:23:27 +0000 Subject: [PATCH] Fixed security sections update. --- admin/security_roles.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2