From 946b87233bd13d1c6665b06f2bf921e028e78415 Mon Sep 17 00:00:00 2001 From: David M Date: Sat, 28 Apr 2007 14:18:00 +0000 Subject: [PATCH] typo git-svn-id: file:///svn/phpbb/trunk@7420 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_install.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 5766c91318..c73c857be6 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -697,6 +697,7 @@ class install_install extends module { $error[] = $lang['INST_ERR_EMAIL_INVALID']; } + $error = array(); $template->assign_block_vars('checks', array( 'S_LEGEND' => true, @@ -1637,9 +1638,9 @@ class install_install extends module while ($imageset_row = $db->sql_fetchrow($result)) { - if (@file_exists("{$phpbb_root_path}styles/{$imageset_row['imageset_path']}/imageset/{$lang_pack['iso']}/imageset.cfg")) + if (@file_exists("{$phpbb_root_path}styles/{$imageset_row['imageset_path']}/imageset/{$lang_pack['lang_iso']}/imageset.cfg")) { - $cfg_data_imageset_data = parse_cfg_file("{$phpbb_root_path}styles/{$imageset_row['imageset_path']}/imageset/{$lang_pack['iso']}/imageset.cfg"); + $cfg_data_imageset_data = parse_cfg_file("{$phpbb_root_path}styles/{$imageset_row['imageset_path']}/imageset/{$lang_pack['lang_iso']}/imageset.cfg"); foreach ($cfg_data_imageset_data as $image_name => $value) { if (strpos($value, '*') !== false) @@ -1671,7 +1672,7 @@ class install_install extends module 'image_height' => $image_height, 'image_width' => $image_width, 'imageset_id' => $imageset_row['imageset_id'], - 'image_lang' => $lang_pack['iso'], + 'image_lang' => $lang_pack['lang_iso'], ); } }