@@ -85,11 +85,11 @@ |
||
85 | 85 | generate_smilies('inline', 0); |
86 | 86 | |
87 | 87 | // BBCode, Smilies, Images URL, and Flash statuses |
88 | - $bbcode_status = (bool) $this->config['allow_bbcode'] && $this->auth->acl_get('f_bbcode', $this->config['ideas_forum_id']); |
|
89 | - $smilies_status = (bool) $this->config['allow_smilies'] && $this->auth->acl_get('f_smilies', $this->config['ideas_forum_id']); |
|
88 | + $bbcode_status = (bool) $this->config['allow_bbcode'] && $this->auth->acl_get('f_bbcode', $this->config['ideas_forum_id']); |
|
89 | + $smilies_status = (bool) $this->config['allow_smilies'] && $this->auth->acl_get('f_smilies', $this->config['ideas_forum_id']); |
|
90 | 90 | $img_status = (bool) $bbcode_status && $this->auth->acl_get('f_img', $this->config['ideas_forum_id']); |
91 | 91 | $url_status = (bool) $this->config['allow_post_links']; |
92 | - $flash_status = (bool) $bbcode_status && $this->auth->acl_get('f_flash', $this->config['ideas_forum_id']) && $this->config['allow_post_flash']; |
|
92 | + $flash_status = (bool) $bbcode_status && $this->auth->acl_get('f_flash', $this->config['ideas_forum_id']) && $this->config['allow_post_flash']; |
|
93 | 93 | |
94 | 94 | $this->template->assign_vars(array( |
95 | 95 | 'TITLE' => $title, |
@@ -155,7 +155,7 @@ |
||
155 | 155 | { |
156 | 156 | $this->sql = []; |
157 | 157 | |
158 | - $this->sql['SELECT'][] = 't.topic_last_post_time, t.topic_status, t.topic_visibility, i.*'; |
|
158 | + $this->sql['SELECT'][] = 't.topic_last_post_time, t.topic_status, t.topic_visibility, i.*'; |
|
159 | 159 | $this->sql['FROM'] = "{$this->table_ideas} i"; |
160 | 160 | $this->sql['JOIN'] = "{$this->table_topics} t ON i.topic_id = t.topic_id"; |
161 | 161 | $this->sql['WHERE'][] = 't.forum_id = ' . (int) $this->config['ideas_forum_id']; |