fix var
This commit is contained in:
@@ -306,7 +306,7 @@ long market_email(long mailtype, CVars in, CVars &out) {
|
||||
switch (mailtype) {
|
||||
|
||||
case WRENCHBOARD_BKO_MARKETING_MSG:
|
||||
REQ_LONG(in, "uid", 1, -1);
|
||||
REQ_STRING (in, "uid", 5, 149, "(.*)");
|
||||
if (load_db_record(x, "SELECT email AS market_email, * FROM marketing_list WHERE uid='%s'", in["uid"].c_str())) {
|
||||
vars2form(x, form);
|
||||
form.LetStr("subject", "makrting subject here ");
|
||||
|
||||
Reference in New Issue
Block a user