Changeset 478


Ignore:
Timestamp:
03/13/13 17:21:23 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Another little error-log cleanup. See #25.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r477 r478  
    31033103    # Get the "last" location.  Note this is the only use for loc_id, because selecting on location Does Funky Things
    31043104    ($loc) = $dbh->selectrow_array("SELECT location FROM locations ORDER BY loc_id DESC LIMIT 1");
    3105     ($loc) = ($loc =~ /^(..)/);
     3105    ($loc) = ($loc =~ /^(..)/) if $loc;
    31063106    my $origloc = $loc;
    31073107    $loc = 'aa' if !$loc;       
Note: See TracChangeset for help on using the changeset viewer.