This commit is contained in:
CHIEFSOFT\ameye
2023-09-23 16:43:45 -04:00
parent 3a1d397a74
commit b2837dafd9
+1 -1
View File
@@ -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 ");