uid added
This commit is contained in:
@@ -817,7 +817,7 @@ long WrenchAccountSettings( CVars in, CVars &out ){
|
||||
|
||||
|
||||
out["total_record"] = "0";
|
||||
res = pgsql_query("SELECT id,title,description,pref_id FROM members_settings_options ORDER BY lorder ASC");
|
||||
res = pgsql_query("SELECT id,title,description,pref_id,uid FROM members_settings_options ORDER BY lorder ASC");
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
out["total_record"] = pgsql_num_rows(res);
|
||||
|
||||
@@ -830,6 +830,9 @@ long WrenchAccountSettings( CVars in, CVars &out ){
|
||||
snprintf(vname, sizeof (vname), "id_%05d", i);
|
||||
out[vname] = rec["id"];
|
||||
|
||||
snprintf(vname, sizeof (vname), "uid_%05d", i);
|
||||
out[vname] = rec["uid"];
|
||||
|
||||
snprintf(vname, sizeof (vname), "title_%05d", i);
|
||||
out[vname] = rec["title"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user