[Tickets #3612] Cannot correctly save or edit Fetchmail accounts

bugs@bugs.horde.org bugs at bugs.horde.org
Sat Mar 11 19:33:44 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3612
-----------------------------------------------------------------------
 Ticket             | 3612
 Updated By         | horde at rajidae.se
 Summary            | Cannot correctly save or edit Fetchmail accounts
 Queue              | IMP
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


horde at rajidae.se (2006-03-11 19:33) wrote:

The problem with checkboxes not beeing saved has to do with the if-flag not
being set in template set function.

Setting the if-flag to true as below fixes the checkbox problem:
$t->set('fmonlynew', $fm_account->getValue('onlynew', $to_edit), true);
$t->set('fmmarkseen', $fm_account->getValue('markseen', $to_edit), true);
$t->set('fmdel', $fm_account->getValue('del', $to_edit), true);
$t->set('fmloginfetch', $fm_account->getValue('loginfetch', $to_edit),
true);

The empty account names has to do with the default value not being set
correctly on the following line:
$id = Util::getFormData('fm_id', _("Unnamed"));




More information about the bugs mailing list