mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:57 +01:00
Calendar: Fix missing owner resource icons on initial load
This commit is contained in:
parent
0de4ad22c2
commit
c9c98969b4
@ -327,7 +327,7 @@ class calendar_owner_etemplate_widget extends Etemplate\Widget\Taglist
|
||||
case '':
|
||||
// check if link-search already returned either icon or (l|f)name and only if not, query contact again
|
||||
if(!(isset($value['icon']) || isset($value['lname']) && isset($value['fname'])) &&
|
||||
($contact = $contacts_obj->read($type === '' ? 'account:'.$id : $id, true)))
|
||||
($contact = $contacts_obj->read($type === '' ? 'account:' . $id : $data['res_id'], true)))
|
||||
{
|
||||
if(Api\Contacts::hasPhoto($contact))
|
||||
{
|
||||
|
@ -16,6 +16,8 @@ use EGroupware\Api\Egw;
|
||||
use EGroupware\Api\Etemplate;
|
||||
use EGroupware\Api\Framework;
|
||||
|
||||
require_once("class.calendar_owner_etemplate_widget.inc.php");
|
||||
|
||||
/**
|
||||
* Shared base-class of all calendar UserInterface classes
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user