Fix page layout selector

This commit is contained in:
Christian Vogeley
2014-01-12 00:49:23 +01:00
parent 0ce3e7235a
commit 5fd3ca36f8
2 changed files with 5 additions and 2 deletions

View File

@@ -99,8 +99,8 @@ function editwebpage_content(&$a) {
if($layout)
$layoutselect = '<input type="hidden" name="layout_mid" value="' . $layout . '" />';
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')