@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | $this->fields->prepare_to_show($entity, array($post_data['topic_id']), $entity->$fields_accessor(), $entity->$template_accessor(), $view); |
| 209 | 209 | $content = $this->fields->build_content(array_change_key_case($post_data, CASE_UPPER)); |
| 210 | 210 | |
| 211 | - $text = isset($content['CUSTOM_DISPLAY']) ? $content['CUSTOM_DISPLAY'] : join('', $content['FIELDS']['all']); |
|
| 211 | + $text = isset($content['CUSTOM_DISPLAY']) ? $content['CUSTOM_DISPLAY'] : join('', $content['FIELDS']['all']); |
|
| 212 | 212 | } |
| 213 | 213 | return $text; |
| 214 | 214 | } |
@@ -403,8 +403,8 @@ discard block |
||
| 403 | 403 | } |
| 404 | 404 | else |
| 405 | 405 | { |
| 406 | - $options[ITEM_UNAPPROVED] = 'CONTENT_STATUS_DISAPPROVE'; |
|
| 407 | - $options[ITEM_APPROVED] = 'CONTENT_STATUS_APPROVE'; |
|
| 406 | + $options[ITEM_UNAPPROVED] = 'CONTENT_STATUS_DISAPPROVE'; |
|
| 407 | + $options[ITEM_APPROVED] = 'CONTENT_STATUS_APPROVE'; |
|
| 408 | 408 | } |
| 409 | 409 | |
| 410 | 410 | return $options; |
@@ -139,7 +139,7 @@ |
||
| 139 | 139 | |
| 140 | 140 | foreach ($posts_data as $topic_id => $posts) |
| 141 | 141 | { |
| 142 | - $post_data = array_shift($posts); |
|
| 142 | + $post_data = array_shift($posts); |
|
| 143 | 143 | $topic_data = $topics_data[$topic_id]; |
| 144 | 144 | $topic_data = $this->fields->show($content_type, $topic_data, $post_data, $users_cache, $attachments, $update_count, $topic_tracking_info, $topic_data_overwrite, $cp_mode); |
| 145 | 145 | |