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: release-0.3.33~115 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=commitdiff_plain;h=6565c4df864eaf8ebf23c1cb26cd5a3ac67ee585 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/Util.pm b/Util.pm index 5a93ca3..08a5f07 100644 --- a/Util.pm +++ b/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"; }