@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | } |
| 142 | 142 | |
| 143 | 143 | //Check up |
| 144 | - if ( !$this->up |
|
| 144 | + if (!$this->up |
|
| 145 | 145 | && $this->title != '__org_openpsa_calendar') { |
| 146 | 146 | $root_event = org_openpsa_calendar_interface::find_root_event(); |
| 147 | 147 | $this->up = $root_event->id; |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | |
| 167 | 167 | private function _check_timerange() : bool |
| 168 | 168 | { |
| 169 | - if ( !$this->start |
|
| 169 | + if (!$this->start |
|
| 170 | 170 | || !$this->end) { |
| 171 | 171 | debug_add('Event must have start and end timestamps'); |
| 172 | 172 | midcom_connection::set_error(MGD_ERR_RANGE); |