Hello,

On 2012-12-22 19:25, Serafin wrote:

restore function works as expected - thanks

fine

the only comment - if message was send to the sender itself, then there
are two the same addresses on the list

try this diff:


--- a/webui/model/search/search.php
+++ b/webui/model/search/search.php
@@ -556,7 +556,7 @@ class ModelSearchSearch extends Model {
          }

          if($mydomain == 1) {
-            array_push($addr, $q['to']);
+ if(!in_array($q['to'], $addr)) { array_push($addr, $q['to']); }
          }
       }



Janos

Reply via email to