aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcvogeley <christian.vogeley@hotmail.de>2014-01-11 15:58:57 -0800
committercvogeley <christian.vogeley@hotmail.de>2014-01-11 15:58:57 -0800
commit3dfcb7510cafcb90a798f069155fed1e99d12600 (patch)
treee6d048bed6c875690bd3d0574c339c35236c14b5
parent362e4060e19e910a50886b660532dd35fd0385bb (diff)
parent6403875f26c95738fbeeaf9661ac91bbc5f62b3a (diff)
downloadvolse-hubzilla-3dfcb7510cafcb90a798f069155fed1e99d12600.tar.gz
volse-hubzilla-3dfcb7510cafcb90a798f069155fed1e99d12600.tar.bz2
volse-hubzilla-3dfcb7510cafcb90a798f069155fed1e99d12600.zip
Merge pull request #265 from cvogeley/master
Fix page layout selector
-rw-r--r--mod/editwebpage.php4
1 files changed, 2 insertions, 2 deletions
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 = '<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')