fix bug where planet06_pg would issue member types in the "id" field and member ids...
authorFrederik Ramm <frederik@remote.org>
Thu, 23 Apr 2009 22:56:24 +0000 (22:56 +0000)
committerFrederik Ramm <frederik@remote.org>
Thu, 23 Apr 2009 22:56:24 +0000 (22:56 +0000)
planet06_pg.cpp

index f2b1c0e..2e79699 100644 (file)
@@ -217,7 +217,7 @@ struct relation_member_stream
     resetList(roles);
     if (has_members) {
       while (id == next_id) {
-       addItem(members, (*r_itr)[1].c_str(), (*r_itr)[2].c_str(), 0);
+       addItem(members, (*r_itr)[2].c_str(), (*r_itr)[1].c_str(), 0);
        addItem(roles, "", (*r_itr)[3].c_str(), 0);
        next();
       }