aboutsummaryrefslogtreecommitdiffstats
path: root/mod/webpages.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-06-04 23:04:58 +0200
committerMario Vavti <mario@mariovavti.com>2015-06-04 23:04:58 +0200
commitd84f77bbc67d0f22820a980dd2ffd05257ad4be4 (patch)
tree6f9dbf899184c97824c93c4138055dd2fd6e7487 /mod/webpages.php
parent33a122aaa8013cded8ce97615169f5c07fb762af (diff)
downloadvolse-hubzilla-d84f77bbc67d0f22820a980dd2ffd05257ad4be4.tar.gz
volse-hubzilla-d84f77bbc67d0f22820a980dd2ffd05257ad4be4.tar.bz2
volse-hubzilla-d84f77bbc67d0f22820a980dd2ffd05257ad4be4.zip
use the right webpage layout for an installed webpage if it exists
Diffstat (limited to 'mod/webpages.php')
-rw-r--r--mod/webpages.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/webpages.php b/mod/webpages.php
index 62abfb34a..362f7bacb 100644
--- a/mod/webpages.php
+++ b/mod/webpages.php
@@ -155,7 +155,8 @@ function webpages_content(&$a) {
'edited' => $rr['edited'],
'mimetype' => $rr['mimetype'],
'pagetitle' => $rr['sid'],
- 'mid' => $rr['mid']
+ 'mid' => $rr['mid'],
+ 'layout_mid' => $rr['layout_mid']
);
$pages[$rr['iid']][] = array(
'url' => $rr['iid'],