diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-07-19 04:48:10 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-07-19 04:48:10 +0000 |
commit | 48e41d314e7ed278f131e705fbfd0dd6b766a83d (patch) | |
tree | 3f23becc9c1a8846d2964b78d30b0f168cfbcfa9 /install.php | |
parent | 3ccd437530bac14be8bdc3e3a503930d77aedd96 (diff) | |
download | brdo-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.php | 6 |
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); + } } } |