From: tausq <> Date: Sat, 27 Apr 2002 13:41:20 +0000 (+0000) Subject: Fix a problem where lastseen data won't get displayed if the mailing X-Git-Tag: debian_userdir-ldap_0-3-7~88 X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=2edd6dd3c3c109091184ea4ec2c64aabdf6e341c;p=mirror%2Fuserdir-ldap.git Fix a problem where lastseen data won't get displayed if the mailing list info associated with the entry had no archive info --- diff --git a/web/Util.pm b/web/Util.pm index 5a93ca3..08a5f07 100644 --- a/web/Util.pm +++ b/web/Util.pm @@ -225,7 +225,7 @@ sub FormatLastSeen { $lastseen = (($d1 gt $d2) ? $lastseenpgp : $lastseenfrom); } - my ($date,$user,$list,$msgid) = ($lastseen =~ /^\[(.+?)\]\s+"(.+?)"\s+"(?:<(.+?)>.+?|\-)"\s+"<(.+?)>"/); + my ($date,$user,$list,$msgid) = ($lastseen =~ /^\[(.+?)\]\s+"(.+?)"\s+"(?:<(.+?)>.*?|\-)"\s+"<(.+?)>"/); $list = "on $list" if ($list); return "$date $list
 Message ID: $msgid"; }