aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zchannel.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-01 19:04:21 -0700
committerfriendica <info@friendica.com>2012-10-01 19:04:21 -0700
commitdc8a46477b245dc89c3de69ddc61e83a2b8bd22a (patch)
tree5b44415ab9c6c7ac036c719e5a1c10d8e0f6d7ea /mod/zchannel.php
parent846a9813b23911ae2a87d87fb6fd9f188ed84dc0 (diff)
downloadvolse-hubzilla-dc8a46477b245dc89c3de69ddc61e83a2b8bd22a.tar.gz
volse-hubzilla-dc8a46477b245dc89c3de69ddc61e83a2b8bd22a.tar.bz2
volse-hubzilla-dc8a46477b245dc89c3de69ddc61e83a2b8bd22a.zip
use hash for channel id
Diffstat (limited to 'mod/zchannel.php')
-rw-r--r--mod/zchannel.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/zchannel.php b/mod/zchannel.php
index f401d91c6..eca22b0a9 100644
--- a/mod/zchannel.php
+++ b/mod/zchannel.php
@@ -73,6 +73,10 @@ function zchannel_post(&$a) {
return;
}
+ $newuid = $result['channel']['channel_id'];
+
+ change_channel($result['channel']['channel_id']);
+
if(! strlen($next_page = get_config('system','workflow_channel_next')))
$next_page = 'settings';