Fix missing resource name in initial load of owner list

This commit is contained in:
Nathan Gray 2015-12-08 22:29:56 +00:00
parent d00eaa9834
commit 77d4a48a5b

View File

@ -647,7 +647,7 @@ class calendar_ui
{ {
if(!is_numeric(substr($owner, 0,1))) if(!is_numeric(substr($owner, 0,1)))
{ {
$resource = $this->resources[substr($owner, 0,1)]; $resource = $this->bo->resources[substr($owner, 0,1)];
$sel_options['owner'][] = array('value' => $owner, 'label' => egw_link::title($resource['app'], substr($owner,1))); $sel_options['owner'][] = array('value' => $owner, 'label' => egw_link::title($resource['app'], substr($owner,1)));
} }
} }