Fix calendar acl not showing stored category, selectAccount_ro widget expects value should be array or type of string

This commit is contained in:
Hadi Nategh 2014-07-03 09:10:11 +00:00
parent 6560a9d137
commit af38b85e5b

View File

@ -2335,7 +2335,7 @@ class calendar_uiforms extends calendar_ui
$n = 1;
foreach($this->bo->get_cat_rights() as $Lcat_id => $data)
{
$cat_id = (int)substr($Lcat_id,1);
$cat_id = substr($Lcat_id,1);
$row = array(
'cat_id' => $cat_id,
'add' => array(),