Passed
Push — master ( d46fa5...b07635 )
by Andreas
11:04
created
lib/org/openpsa/relatedto/style/relatedto_list_item_invoice.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     </div>
36 36
 
37 37
   <?php
38
-  //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH
39
-  org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);
40
-  ?>
38
+    //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH
39
+    org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);
40
+    ?>
41 41
 </li>
Please login to merge, or discard this patch.
lib/org/openpsa/relatedto/style/relatedto_list_item_salesproject.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
   <div id="org_openpsa_relatedto_details_&(salesproject.guid);" class="details hidden" style="display: none;">
28 28
   </div>
29 29
   <?php
30
-  //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH
31
-  org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);
32
-  ?>
30
+    //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH
31
+    org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);
32
+    ?>
33 33
 </li>
Please login to merge, or discard this patch.
lib/org/openpsa/relatedto/style/relatedto_list_item_document.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
   <div id="org_openpsa_relatedto_details_&(document.guid);" class="details hidden" style="display: none;">
32 32
   </div>
33 33
   <?php
34
-  //TODO: get correct node and via it then handle details trough AHAH (and when we have node we can use proper link in document_url as well
35
-  org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);
36
-  ?>
34
+    //TODO: get correct node and via it then handle details trough AHAH (and when we have node we can use proper link in document_url as well
35
+    org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);
36
+    ?>
37 37
 </li>
Please login to merge, or discard this patch.
lib/org/openpsa/relatedto/style/relatedto_list_item_event.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
     </div>
26 26
 <?php
27 27
 //TODO: necessary JS stuff to load details (which should in turn include the events own relatedtos) via AHAH
28
-  org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);
29
-  ?>
28
+    org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']);
29
+    ?>
30 30
 </li>
Please login to merge, or discard this patch.
lib/midcom/helper/toolbar/node.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,8 @@
 block discarded – undo
88 88
                         $style = midcom_db_style::get_cached($style_id);
89 89
                         $styleeditor_url = midcom_connection::get_url('self') . "__mfa/asgard/object/view/{$style->guid}/";
90 90
                         $enabled = true;
91
-                    } catch (midcom_error $e) {
91
+                    }
92
+                    catch (midcom_error $e) {
92 93
                         $e->log();
93 94
                     }
94 95
                 }
Please login to merge, or discard this patch.
lib/midcom/style/midcom_helper_datamanager2_unlock.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,8 @@
 block discarded – undo
4 4
 try {
5 5
     $person = new midcom_db_person($metadata->locker);
6 6
     $name = $person->name;
7
-} catch (midcom_error $e) {
7
+}
8
+catch (midcom_error $e) {
8 9
     $name = $this->data['handler']->_l10n_midcom->get('unknown user');
9 10
     $e->log();
10 11
 }
Please login to merge, or discard this patch.
lib/net/nemein/wiki/parser.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,8 @@
 block discarded – undo
63 63
 
64 64
         try {
65 65
             $attachment = new midcom_db_attachment($guid);
66
-        } catch (midcom_error $e) {
66
+        }
67
+        catch (midcom_error $e) {
67 68
             $e->log();
68 69
             return "<span class=\"missing_photo\" title=\"{$guid}\">{$fulltag}</span>{$after}";
69 70
         }
Please login to merge, or discard this patch.
lib/org/openpsa/sales/salesproject.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,14 +120,16 @@
 block discarded – undo
120 120
         if (!empty($this->customer)) {
121 121
             try {
122 122
                 return org_openpsa_contacts_group_dba::get_cached($this->customer);
123
-            } catch (midcom_error $e) {
123
+            }
124
+            catch (midcom_error $e) {
124 125
                 $e->log();
125 126
             }
126 127
         }
127 128
         if (!empty($this->customerContact)) {
128 129
             try {
129 130
                 return org_openpsa_contacts_person_dba::get_cached($this->customerContact);
130
-            } catch (midcom_error $e) {
131
+            }
132
+            catch (midcom_error $e) {
131 133
                 $e->log();
132 134
             }
133 135
         }
Please login to merge, or discard this patch.
lib/net/nemein/redirector/viewer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,8 @@
 block discarded – undo
152 152
                     try {
153 153
                         $topic = new midcom_db_topic($id);
154 154
                         $id = $topic->id;
155
-                    } catch (midcom_error $e) {
155
+                    }
156
+                    catch (midcom_error $e) {
156 157
                         $e->log();
157 158
                         break;
158 159
                     }
Please login to merge, or discard this patch.