diff --git a/resources/inc/class.bo_resources.inc.php b/resources/inc/class.bo_resources.inc.php index 408dc9b98b..587edf8476 100755 --- a/resources/inc/class.bo_resources.inc.php +++ b/resources/inc/class.bo_resources.inc.php @@ -232,8 +232,13 @@ class bo_resources */ function get_calendar_info($res_id) { - //echo "

bo_resources::get_calendar_info(".print_r($res_id,true)."

\n"; - return !is_array($res_id) && $res_id < 1 ? false : $this->so->search(array('id' => $res_id),'id,name,useable'); + //echo "

bo_resources::get_calendar_info(".print_r($res_id,true)."

\n"; + return !is_array($res_id) && $res_id < 1 ? false : $this->so->search(array('id' => $res_id),'id,name,useable'); + + foreach($data as $num => $resource) + { + $resource['rights'] = + } } /**