X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fsecurity_roles.php;h=9ffe8d7bc17f09cb3158f4c2a8217bdfff9189e4;hb=b6ae2ddcd0cbc571edd01157ca1c8d44bbe071ef;hp=2727af4c3eabe5f97196b88baad0ce7196b502c3;hpb=d9b4de9d7e9d3ba77f6ece752fd6cc988effd8f1;p=fa-stable.git diff --git a/admin/security_roles.php b/admin/security_roles.php index 2727af4c..9ffe8d7b 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); @@ -197,7 +197,7 @@ start_table(TABLESTYLE2); record_status_list_row(_("Current status:"), 'inactive'); end_table(1); - start_table(TABLESTYLE, "width=40%"); + start_table(TABLESTYLE, "width='40%'"); $k = $j = 0; //row colour counter $ext = $sec = $m = -1; @@ -254,4 +254,3 @@ div_end(); end_form(); end_page(); -?>