@@ -232,8 +232,7 @@ discard block |
||
| 232 | 232 | { |
| 233 | 233 | $data = generate_text_for_edit($this->content_desc, $this->content_desc_uid, $this->content_desc_options); |
| 234 | 234 | return $data['text']; |
| 235 | - } |
|
| 236 | - else |
|
| 235 | + } else |
|
| 237 | 236 | { |
| 238 | 237 | $parse_flags = ($this->content_desc_bitfield ? OPTION_FLAG_BBCODE : 0) | OPTION_FLAG_SMILIES; |
| 239 | 238 | return generate_text_for_display($this->content_desc, $this->content_desc_uid, $this->content_desc_bitfield, $parse_flags); |
@@ -251,8 +250,7 @@ discard block |
||
| 251 | 250 | if (!is_array($settings)) |
| 252 | 251 | { |
| 253 | 252 | $this->content_view_settings = $settings; |
| 254 | - } |
|
| 255 | - else if (sizeof($settings)) |
|
| 253 | + } else if (sizeof($settings)) |
|
| 256 | 254 | { |
| 257 | 255 | $this->content_view_settings = json_encode($settings); |
| 258 | 256 | } |
@@ -168,8 +168,7 @@ discard block |
||
| 168 | 168 | { |
| 169 | 169 | $data = generate_text_for_edit($this->field_explain, $this->field_exp_uid, $this->field_exp_options); |
| 170 | 170 | return $data['text']; |
| 171 | - } |
|
| 172 | - else |
|
| 171 | + } else |
|
| 173 | 172 | { |
| 174 | 173 | $parse_flags = ($this->field_exp_bitfield ? OPTION_FLAG_BBCODE : 0) | OPTION_FLAG_SMILIES; |
| 175 | 174 | return generate_text_for_display($this->field_explain, $this->field_exp_uid, $this->field_exp_bitfield, $parse_flags); |
@@ -186,8 +185,7 @@ discard block |
||
| 186 | 185 | if (!is_array($props)) |
| 187 | 186 | { |
| 188 | 187 | $this->field_props = $props; |
| 189 | - } |
|
| 190 | - else if (sizeof($props)) |
|
| 188 | + } else if (sizeof($props)) |
|
| 191 | 189 | { |
| 192 | 190 | $this->field_props = json_encode($props); |
| 193 | 191 | } |