@@ -35,7 +35,7 @@ |
||
| 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> |
@@ -27,7 +27,7 @@ |
||
| 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> |
@@ -31,7 +31,7 @@ |
||
| 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> |
@@ -25,6 +25,6 @@ |
||
| 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> |
@@ -88,7 +88,8 @@ |
||
| 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 | } |
@@ -4,7 +4,8 @@ |
||
| 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 | } |
@@ -63,7 +63,8 @@ |
||
| 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 | } |
@@ -120,14 +120,16 @@ |
||
| 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 | } |
@@ -152,7 +152,8 @@ |
||
| 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 | } |