diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2008-04-08 12:15:28 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2008-04-08 12:15:28 +0000 |
commit | 44b1572527e92eb7363e1b0ec63e9a18bc5d4d61 (patch) | |
tree | 188cb463cca5bb7e3bf0a1d92a6e0aa5c956db85 /phpBB/includes | |
parent | 55dd22202999030cfbd217bedb13f6dae7d29163 (diff) | |
download | forums-44b1572527e92eb7363e1b0ec63e9a18bc5d4d61.tar forums-44b1572527e92eb7363e1b0ec63e9a18bc5d4d61.tar.gz forums-44b1572527e92eb7363e1b0ec63e9a18bc5d4d61.tar.bz2 forums-44b1572527e92eb7363e1b0ec63e9a18bc5d4d61.tar.xz forums-44b1572527e92eb7363e1b0ec63e9a18bc5d4d61.zip |
Begone ghost entries - the Ghostbusters are here
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8497 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_attachments.php | 8 | ||||
-rw-r--r-- | phpBB/includes/acp/acp_board.php | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php index c60f453238..9c76459031 100644 --- a/phpBB/includes/acp/acp_attachments.php +++ b/phpBB/includes/acp/acp_attachments.php @@ -277,13 +277,19 @@ class acp_attachments { $l_explain = (isset($user->lang[$vars['lang'] . '_EXPLAIN'])) ? $user->lang[$vars['lang'] . '_EXPLAIN'] : ''; } + + $content = build_cfg_template($type, $config_key, $this->new_config, $config_key, $vars); + if (empty($content)) + { + continue; + } $template->assign_block_vars('options', array( 'KEY' => $config_key, 'TITLE' => $user->lang[$vars['lang']], 'S_EXPLAIN' => $vars['explain'], 'TITLE_EXPLAIN' => $l_explain, - 'CONTENT' => build_cfg_template($type, $config_key, $this->new_config, $config_key, $vars), + 'CONTENT' => $content, ) ); diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php index 1b7ae383cc..4d82926ca2 100644 --- a/phpBB/includes/acp/acp_board.php +++ b/phpBB/includes/acp/acp_board.php @@ -569,7 +569,7 @@ class acp_board 'TITLE' => (isset($user->lang[$vars['lang']])) ? $user->lang[$vars['lang']] : $vars['lang'], 'S_EXPLAIN' => $vars['explain'], 'TITLE_EXPLAIN' => $l_explain, - 'CONTENT' => build_cfg_template($type, $config_key, $this->new_config, $config_key, $vars), + 'CONTENT' => $content, ) ); |