On Thu, 24 Sep 2009 02:12:53 +0200, Jocelyn Delalande jocelyn.lists08@crapouillou.net wrote:
Hi,
I attach a patch with mysql schema, russian translation and 0.3 compatibility fixes.
Ok, nice ! integrated your patch.
Here is one more patch inline, it's trivial:
--- automatic_addressbook.php.orig 2009-09-27 06:32:35.000000000 +0200 +++ automatic_addressbook.php 2009-09-27 06:29:34.000000000 +0200 @@ -134,9 +134,11 @@ class automatic_addressbook extends rcub }
public function save_prefs($args) {
$rcmail = rcmail::get_instance();
$use_auto_abook = $rcmail->config->get('use_auto_abook');
$args['prefs']['use_auto_abook'] =
isset($_POST['_use_auto_abook']) ? true : false;
if ($args['section'] == 'compose') {
$rcmail = rcmail::get_instance();
$use_auto_abook = $rcmail->config->get('use_auto_abook');
$args['prefs']['use_auto_abook'] =
isset($_POST['_use_auto_abook']) ? true : false;
}
return $args;
}Otherwise setting is discarded on the save action in another config section.
Vladislav
List info: http://lists.roundcube.net/dev/