Query error
This commit is contained in:
@@ -540,7 +540,7 @@ long WrenchLoadReferLink(CVars in, CVars &out) {
|
||||
long action_path = REQ_LONG(in, "action_path", 1, -1);
|
||||
|
||||
if (action_path == 200){
|
||||
sprintf(buf, "SELECT firstname, lastname, email FROM promo_member WHERE LOWER((uid::text)=LOWER('%s') AND status = 1", in["refer_link"].c_str());
|
||||
sprintf(buf, "SELECT firstname, lastname, email FROM promo_member WHERE LOWER(uid::text)=LOWER('%s') AND status = 1", in["refer_link"].c_str());
|
||||
}
|
||||
else{
|
||||
sprintf(buf, "SELECT firstname, lastname, email FROM members_refer_friend WHERE LOWER(refer_link)=LOWER('%s') AND status = 1", in["refer_link"].c_str());
|
||||
|
||||
Reference in New Issue
Block a user