Commit 0db3df1b authored by Kjartan's avatar Kjartan

- changed the $function code to use module_invoke() as its a lot cleaner and

  more in tune with the rest of Drupal.
parent 8ae1611c
......@@ -6,8 +6,7 @@
page_header();
eval(variable_get("site_frontpage_extra", "") .";");
$function = variable_get("site_frontpage", "node") ."_page";
$function();
module_invoke(variable_get("site_frontpage", "node"), "page");
page_footer();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment