media file
This commit is contained in:
@@ -64,7 +64,8 @@ long WrenchFindStoredMedia(CVars in, CVars &out) {
|
||||
switch(file_section_no){
|
||||
|
||||
case WRENCH_FILE_PROFILE:
|
||||
snprintf(vname, sizeof (vname), "SELECT * FROM members WHERE id =1", in["file_uid"].c_str());
|
||||
//file_uid is the UID of the user
|
||||
snprintf(vname, sizeof (vname), "SELECT * FROM members WHERE uid ='%s'", in["file_uid"].c_str());
|
||||
break;
|
||||
|
||||
case WRENCH_FILE_MYFILE:
|
||||
|
||||
Reference in New Issue
Block a user