- Patch #160732 by JohnAlbin: fixed E_NOTICE in the installer.
parent
f3f48753b3
commit
a47643cb09
|
@ -523,7 +523,7 @@ function install_select_locale($profilename) {
|
||||||
$output .= '<ul><li><a href="install.php?profile='. $profilename . '&locale=en">'. st('Continue installation in English') .'</a></li><li><a href="install.php?profile='. $profilename . '">'. st('Return to choose a language') .'</a></li></ul>';
|
$output .= '<ul><li><a href="install.php?profile='. $profilename . '&locale=en">'. st('Continue installation in English') .'</a></li><li><a href="install.php?profile='. $profilename . '">'. st('Return to choose a language') .'</a></li></ul>';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$output .= '<ul><li><a href="install.php?profile='. $profilename . '&locale=en">'. st('Install Drupal in English') .'</a></li><li><a href="install.php?profile='. $profilename . '&localize=true">'. st('Learn how to install Drupal in other languages') .'</a></li></ul>';
|
$output = '<ul><li><a href="install.php?profile='. $profilename . '&locale=en">'. st('Install Drupal in English') .'</a></li><li><a href="install.php?profile='. $profilename . '&localize=true">'. st('Learn how to install Drupal in other languages') .'</a></li></ul>';
|
||||||
}
|
}
|
||||||
print theme('install_page', $output);
|
print theme('install_page', $output);
|
||||||
exit;
|
exit;
|
||||||
|
|
Loading…
Reference in New Issue