diff options
author | zotlabs <mike@macgirvin.com> | 2018-02-04 17:01:59 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-02-04 17:01:59 -0800 |
commit | f15fd93f905520fa7f58e7365c838edd382b227c (patch) | |
tree | 92d9c83603c15dc3f978252e3ad9ec7b3d3f41f0 /Zotlabs/Module/Admin/Security.php | |
parent | 6ad14f4ca009bfa14aa0629d6a53212eb0d14e7f (diff) | |
download | volse-hubzilla-f15fd93f905520fa7f58e7365c838edd382b227c.tar.gz volse-hubzilla-f15fd93f905520fa7f58e7365c838edd382b227c.tar.bz2 volse-hubzilla-f15fd93f905520fa7f58e7365c838edd382b227c.zip |
implode can take its arguments in either order, but let's try to be consistent
Diffstat (limited to 'Zotlabs/Module/Admin/Security.php')
-rw-r--r-- | Zotlabs/Module/Admin/Security.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Zotlabs/Module/Admin/Security.php b/Zotlabs/Module/Admin/Security.php index a1e4bf537..49e1ccf42 100644 --- a/Zotlabs/Module/Admin/Security.php +++ b/Zotlabs/Module/Admin/Security.php @@ -52,24 +52,24 @@ class Security { function get() { $whitesites = get_config('system','whitelisted_sites'); - $whitesites_str = ((is_array($whitesites)) ? implode($whitesites,"\n") : ''); + $whitesites_str = ((is_array($whitesites)) ? implode("\n",$whitesites) : ''); $blacksites = get_config('system','blacklisted_sites'); - $blacksites_str = ((is_array($blacksites)) ? implode($blacksites,"\n") : ''); + $blacksites_str = ((is_array($blacksites)) ? implode("\n",$blacksites) : ''); $whitechannels = get_config('system','whitelisted_channels'); - $whitechannels_str = ((is_array($whitechannels)) ? implode($whitechannels,"\n") : ''); + $whitechannels_str = ((is_array($whitechannels)) ? implode("\n",$whitechannels) : ''); $blackchannels = get_config('system','blacklisted_channels'); - $blackchannels_str = ((is_array($blackchannels)) ? implode($blackchannels,"\n") : ''); + $blackchannels_str = ((is_array($blackchannels)) ? implode("\n",$blackchannels) : ''); $whiteembeds = get_config('system','embed_allow'); - $whiteembeds_str = ((is_array($whiteembeds)) ? implode($whiteembeds,"\n") : ''); + $whiteembeds_str = ((is_array($whiteembeds)) ? implode("\n",$whiteembeds) : ''); $blackembeds = get_config('system','embed_deny'); - $blackembeds_str = ((is_array($blackembeds)) ? implode($blackembeds,"\n") : ''); + $blackembeds_str = ((is_array($blackembeds)) ? implode("\n",$blackembeds) : ''); $embed_coop = intval(get_config('system','embed_coop')); |