aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php
index 708e70b1c..a5233743d 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -1371,7 +1371,8 @@ function zat_init() {
dbesc($_REQUEST['zat'])
);
if($r) {
- atoken_login($r[0]);
+ $xchan = atoken_xchan($r[0]);
+ atoken_login($xchan);
}
}