aboutsummaryrefslogtreecommitdiffstats
path: root/mod/page.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/page.php')
-rw-r--r--mod/page.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/mod/page.php b/mod/page.php
index 1bdc3027a..4b2b95b6a 100644
--- a/mod/page.php
+++ b/mod/page.php
@@ -58,7 +58,6 @@ function page_content(&$a) {
dbesc($page_id),
intval(ITEM_WEBPAGE)
);
- logger('r: ' . print_r($r,true));
if(! $r) {
notice( t('Item not found.') . EOL);
@@ -66,16 +65,13 @@ function page_content(&$a) {
}
// Use of widgets should be determined by Comanchie, but we don't have it yet, so...
-
-
if ($perms['write_pages']) {
+ $chan = $a->channel['channel_id'];
$who = $channel_address;
$which = $r[0]['id'];
$o .= writepages_widget($who,$which);
}
-
-
xchan_query($r);
$r = fetch_post_tags($r,true);
$a->profile = array('profile_uid' => $u[0]['channel_id']);