diff options
author | Mario <mario@mariovavti.com> | 2022-10-21 11:20:23 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-10-21 11:20:23 +0200 |
commit | 5edd13c6bb89c7434d8437f8cc74c038371fdbf8 (patch) | |
tree | bc7f29762e9aa306f80b4881128607a49b5bb74f /Zotlabs/Module/Tokens.php | |
parent | 7ca289edd0d568a51dfdf225a5ef0e9663c38838 (diff) | |
download | volse-hubzilla-5edd13c6bb89c7434d8437f8cc74c038371fdbf8.tar.gz volse-hubzilla-5edd13c6bb89c7434d8437f8cc74c038371fdbf8.tar.bz2 volse-hubzilla-5edd13c6bb89c7434d8437f8cc74c038371fdbf8.zip |
fix various issues
Diffstat (limited to 'Zotlabs/Module/Tokens.php')
-rw-r--r-- | Zotlabs/Module/Tokens.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Tokens.php b/Zotlabs/Module/Tokens.php index 701f29c19..90681180e 100644 --- a/Zotlabs/Module/Tokens.php +++ b/Zotlabs/Module/Tokens.php @@ -90,8 +90,8 @@ class Tokens extends Controller { $r = q("select count(atoken_id) as total where atoken_uid = %d", intval($channel['channel_id']) ); - if($r && intval($r[0]['total']) >= $max_tokens) { - notice( sprintf( t('This channel is limited to %d tokens'), $max_tokens) . EOL); + if($r && intval($r[0]['total']) >= $max_atokens) { + notice( sprintf( t('This channel is limited to %d tokens'), $max_atokens) . EOL); return; } } |