@@ -474,7 +474,7 @@ |
||
| 474 | 474 | { |
| 475 | 475 | return |
| 476 | 476 | ( |
| 477 | - $this->string_exists($string, $this->_language) |
|
| 477 | + $this->string_exists($string, $this->_language) |
|
| 478 | 478 | || $this->string_exists($string, $this->_fallback_language) |
| 479 | 479 | ); |
| 480 | 480 | } |
@@ -58,7 +58,6 @@ |
||
| 58 | 58 | * @property string $revisor The person that modified the object, read-only. |
| 59 | 59 | * @property integer $approved The time of approval of the object, or 0 if not approved. Set automatically through approve/unapprove. |
| 60 | 60 | * @property string $approver The person that approved/unapproved the object. Set automatically through approve/unapprove. |
| 61 | - |
|
| 62 | 61 | * @package midcom.helper |
| 63 | 62 | */ |
| 64 | 63 | class midcom_helper_metadata |
@@ -407,7 +407,7 @@ |
||
| 407 | 407 | |
| 408 | 408 | $parent = $parent->get_parent_group(); |
| 409 | 409 | } |
| 410 | - */ |
|
| 410 | + */ |
|
| 411 | 411 | $this->_inheritance_chains[$id] = $inheritance_chain; |
| 412 | 412 | } |
| 413 | 413 | } |
@@ -183,17 +183,17 @@ |
||
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | /** |
| 186 | - * Inserts a link detector to the given HTML source. All outgoing |
|
| 187 | - * HTTP links in the source HTML are replaced with the given |
|
| 188 | - * link detector address so that the token "URL" is replaced with |
|
| 189 | - * encoded form of the original link. It is expected that the link detector |
|
| 190 | - * address points to a script that records the passed link and |
|
| 191 | - * forwards the client to the real link target. |
|
| 192 | - * |
|
| 193 | - * @param string $html the HTML source |
|
| 194 | - * @param string $address the link detector address |
|
| 195 | - * @return HTML source with the link detector |
|
| 196 | - */ |
|
| 186 | + * Inserts a link detector to the given HTML source. All outgoing |
|
| 187 | + * HTTP links in the source HTML are replaced with the given |
|
| 188 | + * link detector address so that the token "URL" is replaced with |
|
| 189 | + * encoded form of the original link. It is expected that the link detector |
|
| 190 | + * address points to a script that records the passed link and |
|
| 191 | + * forwards the client to the real link target. |
|
| 192 | + * |
|
| 193 | + * @param string $html the HTML source |
|
| 194 | + * @param string $address the link detector address |
|
| 195 | + * @return HTML source with the link detector |
|
| 196 | + */ |
|
| 197 | 197 | private function _insert_link_detector($html, $address) |
| 198 | 198 | { |
| 199 | 199 | $address = addslashes($address); |
@@ -252,9 +252,9 @@ |
||
| 252 | 252 | break; |
| 253 | 253 | case 'delete': |
| 254 | 254 | if (empty($_POST['guids'])) { |
| 255 | - throw new midcom_error('Invalid request'); |
|
| 256 | - } |
|
| 257 | - break; |
|
| 255 | + throw new midcom_error('Invalid request'); |
|
| 256 | + } |
|
| 257 | + break; |
|
| 258 | 258 | default: |
| 259 | 259 | throw new midcom_error('Invalid request'); |
| 260 | 260 | } |
@@ -113,12 +113,12 @@ |
||
| 113 | 113 | return $status; |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | - /** |
|
| 117 | - * Get the object of a revision |
|
| 118 | - * |
|
| 119 | - * @param string revision identifier of revision wanted |
|
| 120 | - * @return array array representation of the object |
|
| 121 | - */ |
|
| 116 | + /** |
|
| 117 | + * Get the object of a revision |
|
| 118 | + * |
|
| 119 | + * @param string revision identifier of revision wanted |
|
| 120 | + * @return array array representation of the object |
|
| 121 | + */ |
|
| 122 | 122 | public function get_revision($revision) |
| 123 | 123 | { |
| 124 | 124 | if (empty($this->_guid)) { |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | $this->add('Setting: upload_max_filesize', self::OK, ini_get('upload_max_filesize')); |
| 105 | 105 | } else { |
| 106 | 106 | $this->add('Setting: upload_max_filesize', |
| 107 | - self::WARNING, "To make bulk uploads (for exampe in the Image Gallery) useful, you should increase the Upload limit to something above 50 MB. (Current setting: {$upload_limit})"); |
|
| 107 | + self::WARNING, "To make bulk uploads (for exampe in the Image Gallery) useful, you should increase the Upload limit to something above 50 MB. (Current setting: {$upload_limit})"); |
|
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | $post_limit = $this->ini_get_filesize('post_max_size'); |
@@ -65,8 +65,8 @@ |
||
| 65 | 65 | private function prepare_field(array $config) |
| 66 | 66 | { |
| 67 | 67 | if ( empty($config['storage']['location']) |
| 68 | - // This line is needed because a parameter default is set by the schema parser and then ignored |
|
| 69 | - // by the type. The things we do for backwards compatibility... |
|
| 68 | + // This line is needed because a parameter default is set by the schema parser and then ignored |
|
| 69 | + // by the type. The things we do for backwards compatibility... |
|
| 70 | 70 | || $config['storage']['location'] === 'parameter') { |
| 71 | 71 | if (class_exists('midcom\datamanager\storage\\' . $config['type'])) { |
| 72 | 72 | $classname = 'midcom\datamanager\storage\\' . $config['type']; |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | public static function get_by_object(org_openpsa_invoices_interfaces_customer $object) |
| 42 | 42 | { |
| 43 | 43 | if ( !($bd = self::get_billing_data('org_openpsa_contacts_group_dba', $object->customer)) |
| 44 | - // check if the customerContact is set and has invoice_data |
|
| 44 | + // check if the customerContact is set and has invoice_data |
|
| 45 | 45 | && !($bd = self::get_billing_data('org_openpsa_contacts_person_dba', $object->customerContact))) { |
| 46 | 46 | $bd = new org_openpsa_invoices_billing_data_dba(); |
| 47 | 47 | $due = midcom_baseclasses_components_configuration::get('org.openpsa.invoices', 'config')->get('default_due_days'); |