diff options
author | zotlabs <mike@macgirvin.com> | 2016-12-01 02:44:01 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-12-01 02:44:01 -0800 |
commit | 6552ccc47758b0f85af785a324289796cc459eb0 (patch) | |
tree | 32aeac8c8f6c0818028e4c720001937b59f7cf5d /Zotlabs/Module/Settings | |
parent | 83a4999dbee17262e6f14cec6cda220e07b88c0e (diff) | |
download | volse-hubzilla-6552ccc47758b0f85af785a324289796cc459eb0.tar.gz volse-hubzilla-6552ccc47758b0f85af785a324289796cc459eb0.tar.bz2 volse-hubzilla-6552ccc47758b0f85af785a324289796cc459eb0.zip |
issue #607 parens not recognised inside urls
Diffstat (limited to 'Zotlabs/Module/Settings')
-rw-r--r-- | Zotlabs/Module/Settings/Tokens.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Settings/Tokens.php b/Zotlabs/Module/Settings/Tokens.php index e63fed128..d32a00c95 100644 --- a/Zotlabs/Module/Settings/Tokens.php +++ b/Zotlabs/Module/Settings/Tokens.php @@ -115,6 +115,7 @@ class Tokens { $desc2 = t('You may also provide <em>dropbox</em> style access links to friends and associates by adding the Login Password to any specific site URL as shown. Examples:'); $global_perms = \Zotlabs\Access\Permissions::Perms(); + $their_perms = []; $existing = get_all_perms(local_channel(),(($atoken_xchan) ? $atoken_xchan : '')); @@ -123,7 +124,6 @@ class Tokens { intval(local_channel()), dbesc($atoken_xchan) ); - $their_perms = array(); if($theirs) { foreach($theirs as $t) { $their_perms[$t['k']] = $t['v']; |