|
@@ -27,7 +27,7 @@ discard block |
|
|
block discarded – undo |
|
27
|
27
|
$prefix = $nap->get_node($this->_topic->id)[MIDCOM_NAV_ABSOLUTEURL]; |
|
28
|
28
|
|
|
29
|
29
|
$tree = new org_openpsa_widgets_tree(org_openpsa_contacts_group_dba::class, 'owner'); |
|
30
|
|
- $tree->link_callback = function ($guid) use ($prefix) { |
|
|
30
|
+ $tree->link_callback = function($guid) use ($prefix) { |
|
31
|
31
|
return $prefix . 'group/' . $guid . '/'; |
|
32
|
32
|
}; |
|
33
|
33
|
$tree->constraints[] = ['orgOpenpsaObtype', '<', org_openpsa_contacts_group_dba::ORGANIZATION]; |
|
@@ -43,7 +43,7 @@ discard block |
|
|
block discarded – undo |
|
43
|
43
|
{ |
|
44
|
44
|
$my_company_guid = $this->_config->get('owner_organization'); |
|
45
|
45
|
|
|
46
|
|
- if ( empty($my_company_guid) |
|
|
46
|
+ if (empty($my_company_guid) |
|
47
|
47
|
|| !mgd_is_guid($my_company_guid)) { |
|
48
|
48
|
if (midcom::get()->auth->admin) { |
|
49
|
49
|
midcom::get()->uimessages->add( |
Please login to merge, or discard this patch.