summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-19 04:48:10 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-19 04:48:10 +0000
commit48e41d314e7ed278f131e705fbfd0dd6b766a83d (patch)
tree3f23becc9c1a8846d2964b78d30b0f168cfbcfa9 /install.php
parent3ccd437530bac14be8bdc3e3a503930d77aedd96 (diff)
downloadbrdo-48e41d314e7ed278f131e705fbfd0dd6b766a83d.tar.gz
brdo-48e41d314e7ed278f131e705fbfd0dd6b766a83d.tar.bz2
#509392 follow-up by adrian: Clean-up for .info files for install profiles patch.
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);
+ }
}
}