summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'install.php')
-rw-r--r--install.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/install.php b/install.php
index b76bb6017..30c2de029 100644
--- a/install.php
+++ b/install.php
@@ -972,8 +972,10 @@ function install_task_list($active = NULL) {
// Add tasks defined by the profile.
if ($profile) {
$info = install_profile_info($profile);
- if (array_key_exists('tasks', $info)) {
- $tasks += $info['tasks'];
+ if (isset($info['tasks'])) {
+ foreach ($info['tasks'] as $task => $title) {
+ $tasks[$task] = st($title);
+ }
}
}