[Tickets #232] imp2turba.pl again

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Jun 7 00:17:36 PDT 2004


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

-Ticket 232
-Queue: IMP
-Added By: Daniel Ortiz <d.ortiz at in.ilimit.es>

>From Daniel Ortiz <d.ortiz at in.ilimit.es> (Mon Jun  7 00:17:36 2004):
Sorry, watching the patch it was created in a bad way.
The good one is: 

@@ -103,7 +104,7 @@
     $unique_key = join("", @chars[ map {rand @chars} (1 .. 31) ]);
 
     # Remove the @domain.com part from the $owner, doesn't work in Turba
-    $owner =~ s/\@.*$//;
+    $owner =~ s/(.*\@*.)\@.*$/$1/;
     $owner .= "\@$domain";





http://bugs.horde.org/details.php?id=232

-- 


More information about the bugs mailing list