projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f7a430
)
Only deal with the new user if any ACLs have been set.
author
Jan Schneider
<jan@horde.org>
Tue, 3 Aug 2010 22:54:06 +0000
(
00:54
+0200)
committer
Jan Schneider
<jan@horde.org>
Tue, 3 Aug 2010 22:54:06 +0000
(
00:54
+0200)
imp/lib/Prefs/Ui.php
patch
|
blob
|
history
diff --git
a/imp/lib/Prefs/Ui.php
b/imp/lib/Prefs/Ui.php
index
fbcf9d5
..
43b3f3e
100644
(file)
--- a/
imp/lib/Prefs/Ui.php
+++ b/
imp/lib/Prefs/Ui.php
@@
-764,8
+764,8
@@
class IMP_Prefs_Ui
$new_user = $ui->vars->new_user;
/* Check to see if $new_user already has an acl on the folder. */
- if (strlen($new_user)) {
- if (isset($acl_list[$new_user])
&& $ui->vars->new_acl
) {
+ if (strlen($new_user)
&& $ui->vars->new_acl
) {
+ if (isset($acl_list[$new_user])) {
$acl_list[$new_user] = $ui->vars->new_acl;
} else {
try {