diff --git a/mod/editwebpage.php b/mod/editwebpage.php index e1de09e37..f11210eea 100644 --- a/mod/editwebpage.php +++ b/mod/editwebpage.php @@ -99,8 +99,8 @@ function editwebpage_content(&$a) { if($layout) $layoutselect = ''; else - $layoutselect = layout_select($itm[0]['uid']); - + $layoutselect = layout_select($itm[0]['uid'],$itm[0]['layout_mid']); + $o .= replace_macros(get_markup_template('edpost_head.tpl'), array( '$title' => t('Edit Webpage')