[Tickets #8050] options error - wrong selected item name (app=imp&group=server)

bugs at horde.org bugs at horde.org
Thu Mar 5 23:26:10 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/8050
------------------------------------------------------------------------------
  Ticket             | 8050
  Created By         | horde at smartsector.hu
  Summary            | options error  - wrong selected item name
                     | (app=imp&group=server)
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


horde at smartsector.hu (2009-03-05 18:26) wrote:

i found something in the imp oprions.
when i set up the folders it's work correctly(save it as well and  
everything works fine), but when i come back all folder selects are on  
"none".

i debug a little and find some error in the nameing:
imp/lib/IMP.php in line 259:
$sel = ($mbox['val'] && !empty($options['selected']) && ($mbox['val']  
=== $options['selected'])) ? ' selected="selected"' : '';

this line do not set up the selected item becasue:
$mbox['val']=INBOX.trash
$options['selected']=trash






More information about the bugs mailing list