Passed
Push — master ( 4cca2c...a3e137 )
by Andreas
27:35 queued 11s
created
lib/org/openpsa/invoices/style/admin-read.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@
 block discarded – undo
8 8
     if ($customer->orgOpenpsaObtype < org_openpsa_contacts_group_dba::ORGANIZATION) {
9 9
         $customer = false;
10 10
     }
11
-} catch (midcom_error $e) {
11
+}
12
+catch (midcom_error $e) {
12 13
     $customer = false;
13 14
 }
14 15
 
Please login to merge, or discard this patch.
lib/org/openpsa/contacts/handler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -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.