diff options
author | alecpl <alec@alec.pl> | 2011-04-21 08:20:28 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-04-21 08:20:28 +0000 |
commit | 8c263ee5e027f71f7a40227f825eaabb12921b34 (patch) | |
tree | 8419c655c0ff66853521d145388539a3cb753077 | |
parent | 7fbd94bc47962f79d7ffe85d9ec062cccbb92c47 (diff) |
- Set proper readonly state of default address book according to real readonly variable value (#1487878)
-rw-r--r-- | program/include/rcmail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 122dbefdd..9eb11e6c5 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -383,7 +383,7 @@ class rcmail 'id' => '0', 'name' => rcube_label('personaladrbook'), 'groups' => $this->address_books['0']->groups, - 'readonly' => false, + 'readonly' => $this->address_books['0']->readonly, 'autocomplete' => in_array('sql', $autocomplete) ); } @@ -411,7 +411,7 @@ class rcmail if ($writeable && $item['readonly']) unset($list[$idx]); } - + return $list; } |