From 6c20d333d2737f2875292e69f6e4bdfcfd57a684 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 6 Jan 2006 07:25:44 +0000 Subject: - Patch #35667 by Crell: bug fix: on ?q=admin/block style.css was imported twice. --- modules/block/block.module | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/block') diff --git a/modules/block/block.module b/modules/block/block.module index ad479f239..7e4d93797 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -154,9 +154,7 @@ function block_admin_save($edit) { function _block_rehash($order_by = array('weight')) { global $theme_key; - if (empty($theme_key)) { - init_theme(); - } + init_theme(); $result = db_query("SELECT * FROM {blocks} WHERE theme = '%s'", $theme_key); while ($old_block = db_fetch_object($result)) { -- cgit v1.2.3