year fix
This commit is contained in:
@@ -771,6 +771,10 @@ long sendmoney_email(long mailtype, CVars in, CVars &out) {
|
||||
|
||||
out["alertemail"] = CfgReadChar("transnotif.contact");
|
||||
|
||||
CVars yr;
|
||||
load_db_record(yr, "SELECT to_char(now(), 'yyyy') AS YYYY");
|
||||
vars2form(yr, form);
|
||||
|
||||
switch (mailtype) {
|
||||
case SM_PENDING:
|
||||
vars2form(out, form);
|
||||
|
||||
Reference in New Issue
Block a user