Skip to content

Commit 953e660

Browse files
committed
Add fixes from Pantheon.
1 parent 6fa1723 commit 953e660

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

includes/bootstrap.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,12 +726,12 @@ function drupal_settings_initialize() {
726726

727727
// Load environmental config, if present.
728728
if (isset($_SERVER['PRESSFLOW_SETTINGS'])) {
729-
$pressflow_settings = json_decode($_SERVER['PRESSFLOW_SETTINGS']);
729+
$pressflow_settings = json_decode($_SERVER['PRESSFLOW_SETTINGS'], TRUE);
730730
foreach ($pressflow_settings as $key => $value) {
731731
// One level of depth should be enough for $conf and $database.
732732
if ($key == 'conf') {
733733
foreach($value as $conf_key => $conf_value) {
734-
$conf[$conf_key] = $value;
734+
$conf[$conf_key] = $conf_value;
735735
}
736736
}
737737
else {

0 commit comments

Comments
 (0)