Changeset 139 for trunk/dns.cgi
- Timestamp:
- 10/07/11 16:01:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/dns.cgi ¶
r138 r139 228 228 # hmm. seeing problems in some possibly-not-so-corner cases. 229 229 # this currently only handles "domain on", "domain off" 230 if (defined($webvar{ action})) {231 my $stat = domStatus($dbh,$webvar{id},$webvar{ action});230 if (defined($webvar{domstatus})) { 231 my $stat = domStatus($dbh,$webvar{id},$webvar{domstatus}); 232 232 logaction($webvar{id}, $session->param("username"), parentID($webvar{id}, 'dom', 'group'), 233 233 "Changed ".domainName($dbh, $webvar{id})." state to ".($stat ? 'active' : 'inactive')); … … 797 797 } elsif ($webvar{page} eq 'useradmin') { 798 798 799 if (defined($webvar{ action})) {800 userStatus($dbh,$webvar{id},$webvar{ action});799 if (defined($webvar{userstatus})) { 800 userStatus($dbh,$webvar{id},$webvar{userstatus}); 801 801 } 802 802
Note:
See TracChangeset
for help on using the changeset viewer.