X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=admin%2Fsecurity_roles.php;h=9973b5df614f084e4895287c99c706b65769549f;hb=7561718ee5113232ce917f63085d272884b0929c;hp=2727af4c3eabe5f97196b88baad0ce7196b502c3;hpb=46c5f7a65a7659a44ae8254c63152074363d3987;p=fa-stable.git diff --git a/admin/security_roles.php b/admin/security_roles.php index 2727af4c..9973b5df 100644 --- a/admin/security_roles.php +++ b/admin/security_roles.php @@ -90,10 +90,10 @@ if (get_post('addupdate')) if (($a&~0xffff) && (($a&0xff00)<(99<<8))) { $sections[] = $a&~0xff; // add extended section for plugins } - $areas[] = $a; + $areas[] = (int)$a; } if (substr($p,0,7) == 'Section') - $sections[] = substr($p, 7); + $sections[] = (int)substr($p, 7); } // $areas = sort_areas($areas); @@ -254,4 +254,3 @@ div_end(); end_form(); end_page(); -?>