projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed VERSION
[clearscm.git]
/
maps
/
bin
/
mapsutil.pl
diff --git
a/maps/bin/mapsutil.pl
b/maps/bin/mapsutil.pl
index
15488fd
..
fba892b
100755
(executable)
--- a/
maps/bin/mapsutil.pl
+++ b/
maps/bin/mapsutil.pl
@@
-374,10
+374,11
@@
$~ = "USERLIST";
} # ShowUsers
sub ShowEmail() {
} # ShowUsers
sub ShowEmail() {
+ my @fields = qw(userid timestamp sender subject);
my ($err, $msg) = $MAPS::db->find(
'email',
"userid='$userid'",
my ($err, $msg) = $MAPS::db->find(
'email',
"userid='$userid'",
-
qw(userid timestamp sender subject)
,
+
\@fields
,
);
my ($timestamp, $sender, $subject);
);
my ($timestamp, $sender, $subject);
@@
-391,9
+392,9
@@
$~ = "EMAIL";
while (my $rec = $MAPS::db->getnext) {
last unless $rec->{userid};
while (my $rec = $MAPS::db->getnext) {
last unless $rec->{userid};
- $timestamp = $rec->{timestamp};
- $sender = $rec->{sender};
- $subject = $rec->{subject};
+ $timestamp = $rec->{timestamp}
|| '<undef>'
;
+ $sender = $rec->{sender}
|| '<undef>'
;
+ $subject = $rec->{subject}
|| '<undef>'
;
write();
} # while
write();
} # while