From 4e71984ca2c71190adca32770becd88359049ea3 Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sat, 29 Oct 2022 14:11:21 -0400 Subject: [PATCH] fix --- wrenchboard/email/JOB/job_interest_member.mailfile | 4 ++-- wrenchboard/src/shared_tool/account.cc | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/wrenchboard/email/JOB/job_interest_member.mailfile b/wrenchboard/email/JOB/job_interest_member.mailfile index fc8482e9..b1dfb21b 100644 --- a/wrenchboard/email/JOB/job_interest_member.mailfile +++ b/wrenchboard/email/JOB/job_interest_member.mailfile @@ -213,7 +213,7 @@ Please contact us at https://www.wrenchboard.com/contact if you have any questi ® {{site_name}} 2022
-You received this email because a user sent a job to you from {{site_name}}. If you get this email in error, please contact us. +You received this email because a user sent a job to you from {{site_name}}. If you get this email in error, please contact us. @@ -226,7 +226,7 @@ You received this email because a user sent a job to you from {{site_name}}. If - + Twitter diff --git a/wrenchboard/src/shared_tool/account.cc b/wrenchboard/src/shared_tool/account.cc index e71a548f..300a3f9f 100644 --- a/wrenchboard/src/shared_tool/account.cc +++ b/wrenchboard/src/shared_tool/account.cc @@ -468,6 +468,13 @@ long WrenchBoardMobileSendUserWallet(CVars in, CVars &out) { char vname[30]; long ret = PHP_API_BAD_PARAM; + REQ_LONG(in, "member_id", 1, -1); + REQ_STRING(in, "sessionid", 2, 149, "(.*)"); + + if ( VerifySession(in, out) != PHP_API_OK ){ + return 0; + } + try { REQ_LONG(in, "member_id", 1, -1); out["total_record"] = "0";