summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcmail.php4
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;
}