Changeset 642


Ignore:
Timestamp:
06/10/14 13:32:27 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix log entry/user-info message for adding or editing record
expiry/valid-after times; "valid after" would be incorrectly
shown/logged as "expires at". The record would be created and
exported correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r639 r642  
    42034203  $logdata{entry} .= "', TTL $ttl";
    42044204  $logdata{entry} .= ", location ".$self->getLoc($location)->{description} if $location;
    4205   $logdata{entry} .= ($expires eq 'after' ? ', valid after ' : ', expires at ').$stamp if $stamp;
     4205  $logdata{entry} .= ($expires ? ', expires at ' : ', valid after ').$stamp if $stamp;
    42064206
    42074207  # Allow transactions, and raise an exception on errors so we can catch it later.
     
    43994399  $logdata{entry} .= "', TTL $ttl";
    44004400  $logdata{entry} .= ", location ".$self->getLoc($location)->{description} if $location;
    4401   $logdata{entry} .= ($expires eq 'after' ? ', valid after ' : ', expires at ').$stamp if $stamp;
     4401  $logdata{entry} .= ($expires ? ', expires at ' : ', valid after ').$stamp if $stamp;
    44024402
    44034403  local $dbh->{AutoCommit} = 0;
Note: See TracChangeset for help on using the changeset viewer.