Changeset 951 for trunk


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

/trunk

Tweak mailNotify() calls on allocation to include the CIDR in the Subject,
to match the deallocation emails

File:
1 edited

Legend:

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

    r950 r951  
    948948      $page->param(billinguser => $webvar{billinguser});
    949949      $page->param(billinglink => $IPDB::billinglink);
    950       mailNotify($ip_dbh, "a$webvar{alloctype}", "ADDED: $disp_alloctypes{$webvar{alloctype}} allocation",
     950      mailNotify($ip_dbh, "a$webvar{alloctype}", "ADDED: $disp_alloctypes{$webvar{alloctype}} $msg",
    951951        "$disp_alloctypes{$webvar{alloctype}} $msg allocated to customer $webvar{custid}\n".
    952952        "Description: $webvar{desc}\n".
     
    972972      }
    973973      syslog "debug", "billinguser used ($authuser): allocated $netblock, type $webvar{alloctype}" if $webvar{billinguser};
    974       mailNotify($ip_dbh, "a$webvar{alloctype}", "ADDED: $disp_alloctypes{$webvar{alloctype}} allocation",
     974      mailNotify($ip_dbh, "a$webvar{alloctype}", "ADDED: $disp_alloctypes{$webvar{alloctype}} $webvar{fullcidr}",
    975975        "$disp_alloctypes{$webvar{alloctype}} $webvar{fullcidr} allocated to customer $webvar{custid}\n".
    976976        "Description: $webvar{desc}\n".
Note: See TracChangeset for help on using the changeset viewer.