Changeset 952 for trunk/cgi-bin


Ignore:
Timestamp:
08/02/24 11:49:45 (3 months ago)
Author:
Kris Deugau
Message:

/trunk

Commit cleanup from production on adding a termination node

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/newnode.cgi

    r906 r952  
    5757if ($webvar{nodename}) {
    5858  $sth = $dbh->prepare("insert into nodes (node_type,node_name,node_ip) values (?,?,?)");
     59  $webvar{nodeip} =~ s/^\s*//;
     60  $webvar{nodeip} =~ s/\s*$//;
    5961  $sth->execute($webvar{type}, $webvar{nodename}, $webvar{nodeip});
    6062  $page->param(nodename => $webvar{nodename});
Note: See TracChangeset for help on using the changeset viewer.