alecpl
2011-04-21 8c263ee5e027f71f7a40227f825eaabb12921b34
- Set proper readonly state of default address book according to real readonly variable value (#1487878)


1 files modified
4 ■■■■ changed files
program/include/rcmail.php 4 ●●●● patch | view | raw | blame | history
program/include/rcmail.php
@@ -383,7 +383,7 @@
        '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 @@
      if ($writeable && $item['readonly'])
          unset($list[$idx]);
    }
    return $list;
  }