fix syntx
This commit is contained in:
@@ -67,7 +67,7 @@ long WrenchFindStoredMedia(CVars in, CVars &out) {
|
|||||||
//file_uid is the UID of the user
|
//file_uid is the UID of the user
|
||||||
REQ_STRING(in, "profile", 5, 40, "(.*)");
|
REQ_STRING(in, "profile", 5, 40, "(.*)");
|
||||||
pgsql_exec("UPDATE members SET profile_pic='%s' "
|
pgsql_exec("UPDATE members SET profile_pic='%s' "
|
||||||
" WHERE uid='%s'",in["profile"].c_str(),, in["file_uid"].c_str());
|
" WHERE uid='%s'",in["profile"].c_str(), in["file_uid"].c_str());
|
||||||
snprintf(vname, sizeof (vname), "SELECT * FROM members WHERE uid ='%s'", in["file_uid"].c_str());
|
snprintf(vname, sizeof (vname), "SELECT * FROM members WHERE uid ='%s'", in["file_uid"].c_str());
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user