aboutsummaryrefslogtreecommitdiffstats
path: root/mod/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/post.php')
-rw-r--r--mod/post.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/post.php b/mod/post.php
index 2fcc74963..31b688221 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -261,6 +261,7 @@ function post_init(&$a) {
$_SESSION['delegate_channel'] = $r[0]['channel_id'];
$_SESSION['delegate'] = $x[0]['xchan_hash'];
$_SESSION['account_id'] = intval($r[0]['channel_account_id']);
+ require_once('include/security.php');
change_channel($r[0]['channel_id']);
$delegation_success = true;
}