PluginProbe
CSS & JavaScript Toolbox / 9.4
CSS & JavaScript Toolbox v9.4
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | models/block.php +2 -2 11.29.4 View file →
@@ -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