aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-12-26 06:52:56 -0500
committerAndrew Manning <tamanning@zoho.com>2016-12-26 06:52:56 -0500
commitc2a189ab18aa77ceecb7f00a2ddf02aca9fecc5c (patch)
treec7dfa7d3f0b188907b5e1e3f76cc910344fed0e3 /Zotlabs
parent5e490ed8b750820dcfcd2674e39f05c2bc611e64 (diff)
parent56219f9f61a32e5733a8c6315637bfae13e38fc0 (diff)
downloadvolse-hubzilla-c2a189ab18aa77ceecb7f00a2ddf02aca9fecc5c.tar.gz
volse-hubzilla-c2a189ab18aa77ceecb7f00a2ddf02aca9fecc5c.tar.bz2
volse-hubzilla-c2a189ab18aa77ceecb7f00a2ddf02aca9fecc5c.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Webpages.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/Zotlabs/Module/Webpages.php b/Zotlabs/Module/Webpages.php
index 0da699c73..46b94f091 100644
--- a/Zotlabs/Module/Webpages.php
+++ b/Zotlabs/Module/Webpages.php
@@ -173,7 +173,6 @@ class Webpages extends \Zotlabs\Web\Controller {
if($_REQUEST['pagetitle'])
$x['pagetitle'] = $_REQUEST['pagetitle'];
- $editor = status_editor($a,$x);
// Get a list of webpages. We can't display all them because endless scroll makes that unusable,
// so just list titles and an edit link.
@@ -197,6 +196,11 @@ class Webpages extends \Zotlabs\Web\Controller {
// intval(ITEM_TYPE_WEBPAGE)
// );
+ if(! $r)
+ $x['pagetitle'] = 'home';
+
+ $editor = status_editor($a,$x);
+
$pages = null;
if($r) {