- Timestamp:
- 03/03/10 16:47:00 (13 years ago)
- Branches:
- master, qt5
- Children:
- 5bd6aba
- Parents:
- 7270ae0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mvc/event.cpp
r7270ae0 r5d9409d 144 144 { 145 145 QSqlQuery query; 146 query.prepare("SELECT xid_room FROM event_room WHERE xid_event = :id ");146 query.prepare("SELECT xid_room FROM event_room WHERE xid_event = :id AND xid_conference = :conf"); 147 147 query.bindValue(":id", id()); 148 query.bindValue(":conf", conferenceId()); 148 149 if (!query.isActive()) 149 150 if (!query.exec()) … … 165 166 QSqlQuery query; 166 167 // TODO: conference ID isn't used here 167 query.prepare("SELECT person.name FROM person INNER JOIN event_person ON person.id = event_person.xid_person AND event_person.xid_event = :id ");168 query.prepare("SELECT person.name FROM person INNER JOIN event_person ON person.id = event_person.xid_person AND event_person.xid_event = :id AND event_person.xid_conference = :conf"); 168 169 query.bindValue(":id", id()); 170 query.bindValue(":conf", conferenceId()); 169 171 query.exec(); 170 172 // TODO: handle qeury error
Note: See TracChangeset
for help on using the changeset viewer.