@@ -358,11 +358,13 @@ |
||
358 | 358 | */ |
359 | 359 | public function get( $format = 'Y-m-d H:i:s' ) { |
360 | 360 | |
361 | - if( is_null( $this->fromConfig ) ) |
|
362 | - $this->fromConfig = include( 'CalendarSettings/' . ucfirst( $this->translate_from ) . '.php' ); |
|
361 | + if( is_null( $this->fromConfig ) ) { |
|
362 | + $this->fromConfig = include( 'CalendarSettings/' . ucfirst( $this->translate_from ) . '.php' ); |
|
363 | + } |
|
363 | 364 | |
364 | - if( is_null( $this->toConfig ) ) |
|
365 | - $this->toConfig = include( 'CalendarSettings/' . ucfirst( $this->translate_to ) . '.php' ); |
|
365 | + if( is_null( $this->toConfig ) ) { |
|
366 | + $this->toConfig = include( 'CalendarSettings/' . ucfirst( $this->translate_to ) . '.php' ); |
|
367 | + } |
|
366 | 368 | |
367 | 369 | $string_date = $this->date_time->format( $format ); |
368 | 370 |