Skip to content
Snippets Groups Projects
Commit 2e721505 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- undid small improvement ;)

parent d8182d20
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -54,12 +54,12 @@ function theme_main_blocks($theme) {
else theme_new_headlines($theme);
break;
case "/index":
theme_account($theme);
$result = db_query("SELECT * FROM blocks WHERE status = 2");
while ($block = db_fetch_object($result)) {
$blocks = module_execute($block->module, "block");
$theme->box($blocks[$block->offset]["subject"], $blocks[$block->offset]["content"]);
}
theme_account($theme);
break;
default:
theme_account($theme);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment