aboutsummaryrefslogtreecommitdiffstats
path: root/include/comanche.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-09-28 19:05:50 +0100
committerThomas Willingham <founder@kakste.com>2013-09-28 19:05:50 +0100
commit3cf5e5effd059feb708cde7e97966b00c23134e8 (patch)
tree22ab061676e77c6ad8e6eabee97e645ddebb7f57 /include/comanche.php
parent6ca6bc2dd8cadb509ad84e184a11a80c6441921f (diff)
downloadvolse-hubzilla-3cf5e5effd059feb708cde7e97966b00c23134e8.tar.gz
volse-hubzilla-3cf5e5effd059feb708cde7e97966b00c23134e8.tar.bz2
volse-hubzilla-3cf5e5effd059feb708cde7e97966b00c23134e8.zip
Fix Comanche menus
Diffstat (limited to 'include/comanche.php')
-rw-r--r--include/comanche.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/comanche.php b/include/comanche.php
index eb0de96c7..42c8e045c 100644
--- a/include/comanche.php
+++ b/include/comanche.php
@@ -1,7 +1,7 @@
<?php /** @file */
require_once('include/security.php');
-
+require_once('include/menu.php');
// When editing a webpage - a dropdown is needed to select a page layout
// On submit, the pdl_select value (which is the mid of an item with item_restrict = ITEM_PDL) is stored in
// the webpage's resource_id, with resource_type 'pdl'.
@@ -74,7 +74,7 @@ function comanche_parser(&$a,$s) {
function comanche_menu($name) {
$a = get_app();
$m = menu_fetch($name,$a->profile['profile_uid'],get_observer_hash());
- return render_menu($m);
+ return menu_render($m);
}
function comanche_replace_region($match) {