diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-09-29 21:45:27 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-09-29 21:45:27 +0200 |
commit | 59bc3b48fdffb76ee65a4b630be3ffa1f6c20c80 (patch) | |
tree | e87df15c5ca81556fd1925ad56ba404f664c890e /lib/plugins/acl/admin.php | |
parent | e0c26282a603881e8d2f839d94c28dbbfc57d71b (diff) | |
download | rpg-59bc3b48fdffb76ee65a4b630be3ffa1f6c20c80.tar.gz rpg-59bc3b48fdffb76ee65a4b630be3ffa1f6c20c80.tar.bz2 |
more scrutinizer issue improvements
Diffstat (limited to 'lib/plugins/acl/admin.php')
-rw-r--r-- | lib/plugins/acl/admin.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plugins/acl/admin.php b/lib/plugins/acl/admin.php index ebb097a04..814bbfe9c 100644 --- a/lib/plugins/acl/admin.php +++ b/lib/plugins/acl/admin.php @@ -762,6 +762,8 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { */ function _html_select(){ $inlist = false; + $usel = ''; + $gsel = ''; if($this->who && !in_array($this->who,$this->usersgroups) && @@ -770,11 +772,9 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { if($this->who{0} == '@'){ $gsel = ' selected="selected"'; }else{ - $usel = ' selected="selected"'; + $usel = ' selected="selected"'; } }else{ - $usel = ''; - $gsel = ''; $inlist = true; } |