Changeset 478
- Timestamp:
- 03/13/13 17:21:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r477 r478 3103 3103 # Get the "last" location. Note this is the only use for loc_id, because selecting on location Does Funky Things 3104 3104 ($loc) = $dbh->selectrow_array("SELECT location FROM locations ORDER BY loc_id DESC LIMIT 1"); 3105 ($loc) = ($loc =~ /^(..)/) ;3105 ($loc) = ($loc =~ /^(..)/) if $loc; 3106 3106 my $origloc = $loc; 3107 3107 $loc = 'aa' if !$loc;
Note:
See TracChangeset
for help on using the changeset viewer.