summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-21 08:20:28 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-21 08:20:28 +0000
commitb0c748d3b430cac56bfe6ca42b67fd7d5cd5451d (patch)
treeb1747696e7154fe27f5b496c7308f4fcdbb8589d /roundcubemail/program/include
parent3eb6b63ed5bd53e3044a031291b7889e7b9305c6 (diff)
- Set proper readonly state of default address book according to real readonly variable value (#1487878)
git-svn-id: https://svn.roundcube.net/trunk@4682 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-rw-r--r--roundcubemail/program/include/rcmail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php
index 122dbefdd..9eb11e6c5 100644
--- a/roundcubemail/program/include/rcmail.php
+++ b/roundcubemail/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;
}