- small improvement

3-00
Dries Buytaert 2000-12-29 11:45:41 +00:00
parent 94acc44555
commit d8182d2083
1 changed files with 1 additions and 1 deletions

View File

@ -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);