summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2c569ea)
I have never not found double negatives to be confusing...
return if $sth->execute($mid) == 0;
my $num = $dbh->last_insert_id(undef, undef, 'msgmap', 'num');
return if $sth->execute($mid) == 0;
my $num = $dbh->last_insert_id(undef, undef, 'msgmap', 'num');
- $self->num_highwater($num) unless !defined($num);
+ $self->num_highwater($num) if defined($num);