aboutsummaryrefslogtreecommitdiffstats
path: root/mod/post.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-10 02:27:10 -0700
committerfriendica <info@friendica.com>2015-03-10 02:27:10 -0700
commit346654778485416b8643981eae53b9dbd64e084d (patch)
tree40e9e7234932218e9a8a39446b930387bab77cd1 /mod/post.php
parent98dffd77efbad934a26fb4abee9b3e42eeb7b6d2 (diff)
downloadvolse-hubzilla-346654778485416b8643981eae53b9dbd64e084d.tar.gz
volse-hubzilla-346654778485416b8643981eae53b9dbd64e084d.tar.bz2
volse-hubzilla-346654778485416b8643981eae53b9dbd64e084d.zip
missing include
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;
}