This commit is contained in:
@@ -2494,7 +2494,7 @@ long LoginWrenchPromoAccount( CVars in, CVars &out ){
|
|||||||
load_db_record( p, "SELECT md5('%s') AS password_md5, 'NG' AS country ", in["password"].c_str());
|
load_db_record( p, "SELECT md5('%s') AS password_md5, 'NG' AS country ", in["password"].c_str());
|
||||||
|
|
||||||
if ( load_db_record(y, "SELECT firstname , lastname , middlename , status,email FROM market_import WHERE uid::text ='%s' AND status = 1", in["promo_owner"].c_str())> 0){
|
if ( load_db_record(y, "SELECT firstname , lastname , middlename , status,email FROM market_import WHERE uid::text ='%s' AND status = 1", in["promo_owner"].c_str())> 0){
|
||||||
if ( load_db_record(out, "SELECT id FROM members WHERE LOWER(username) = LOWER('%s')", y["username"].c_str())> 0){
|
if ( load_db_record(out, "SELECT id FROM members WHERE LOWER(username) = LOWER('%s')", y["email"].c_str())> 0){
|
||||||
out["status_message"] = "INVALID_LINK";
|
out["status_message"] = "INVALID_LINK";
|
||||||
return PHP_API_BAD_PARAM;
|
return PHP_API_BAD_PARAM;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user