diff options
Diffstat (limited to 'plugins/managesieve')
-rw-r--r-- | plugins/managesieve/Changelog | 1 | ||||
-rw-r--r-- | plugins/managesieve/managesieve.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/managesieve/Changelog b/plugins/managesieve/Changelog index 05506120e..f59859d9a 100644 --- a/plugins/managesieve/Changelog +++ b/plugins/managesieve/Changelog @@ -1,5 +1,6 @@ - Fixed setting test type to :is when none is specified - Fixed javascript error in IE8 +- Fix possible ID duplication when adding filter rules very fast (#1488288) * version 5.0-rc1 [2011-11-17] ----------------------------------------------------------- diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php index 5ac406ade..283f7ceb4 100644 --- a/plugins/managesieve/managesieve.php +++ b/plugins/managesieve/managesieve.php @@ -1542,7 +1542,7 @@ class managesieve extends rcube_plugin private function genid() { - $result = intval(rcube_timer()); + $result = preg_replace('/[^0-9]/', '', microtime(true)); return $result; } |