diff --git a/pandora_console/extras/pandora_diag.php b/pandora_console/extras/pandora_diag.php index 4c851238ad..29e83182fe 100644 --- a/pandora_console/extras/pandora_diag.php +++ b/pandora_console/extras/pandora_diag.php @@ -54,7 +54,7 @@ $rows = db_get_all_rows_in_table('tupdate_settings'); $settings = new StdClass; foreach ($rows as $row) { - $settings->$row['key'] = $row['value']; + $settings->{$row['key']} = $row['value']; } echo '