Changeset 205 for trunk/dns.cgi


Ignore:
Timestamp:
12/16/11 16:58:06 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Revert template tweak in r201 for clearing up a minor error log entry;
instead we'll set $webvar{makeactive} if it's not defined. See #25.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r202 r205  
    343343        errmsg => "You do not have permission to add a domain to the requested group");
    344344  }
     345
     346  $webvar{makeactive} = 0 if !defined($webvar{makeactive});
    345347
    346348  my ($code,$msg) = addDomain($dbh,$webvar{domain},$webvar{group},($webvar{makeactive} eq 'on' ? 1 : 0),
Note: See TracChangeset for help on using the changeset viewer.