synth error
This commit is contained in:
@@ -152,7 +152,7 @@ long WrenchRelativesSettings(CVars in, CVars &out){
|
||||
{
|
||||
res = pgsql_query("SELECT * FROM family_relative_kids WHERE relative_uid::text = '%s'::text AND member_id=%lu AND add_status > 0", in["relative_uid"].c_str(),out["member_id"].Long() );
|
||||
if (res != NULL && pgsql_num_rows(res) > 0) {
|
||||
out["total_kid"] = && pgsql_num_rows(res);
|
||||
out["total_kid"] = pgsql_num_rows(res);
|
||||
for (int i = 0, n = pgsql_num_rows(res); i < n; i++) {
|
||||
map<const char*, const char*>f = pgsql_fetch_assoc(res, i);
|
||||
CVars rec;
|
||||
|
||||
Reference in New Issue
Block a user