| @@ -135,13 +135,13 @@ | ||
| 135 | 135 | */ |
| 136 | 136 | public function __get( $property ) |
| 137 | 137 | { |
| 138 | 138 | // Return default values |
| 139 | - $value = ( isset( $this->properties[ $property ] ) && ( $this->properties[ $property ] === null ) && | |
| 139 | + $value = ( ( $this->properties[ $property ] === null ) && | |
| 140 | 140 | ( isset( $this->propertiesMeta[ $property ][ 'default' ] ) ) ) ? |
| 141 | 141 | |
| 142 | 142 | $this->propertiesMeta[ $property ][ 'default' ] : |
| 143 | - ( isset( $this->properties[ $property ] ) ? $this->properties[ $property ] : null ); | |
| 143 | + $this->properties[ $property ]; | |
| 144 | 144 | |
| 145 | 145 | return $value; |
| 146 | 146 | } |
| 147 | 147 | |