#1488288 closed Bugs (fixed)

managing of mail filters fails

Reported by: smidhonza Owned by: alec
Priority: 5 Milestone: 0.7.1
Component: Plugins Version: 0.7
Severity: normal Keywords: managesieve
Cc:

Description

In mail filter section there is problem with saving a new filter actions. If you are fast adding/clicking new rows it is serious problem because function rcube_timer() returns microtime as an ID of forms elements, which could be not unique number.

It works fine with this patch in /program/include/main.inc

function rcube_timer()
{
	return substr(mt_rand(), 0, 10);
}

Instead of

function rcube_timer()
{
  return microtime(true);
}

Change History (2)

comment:1 Changed 17 months ago by alec

  • Milestone changed from later to 0.7.1
  • Owner set to alec

comment:2 Changed 17 months ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r5710/svn.

Note: See TracTickets for help on using tickets.