Fix SQL query
This commit is contained in:
@@ -1593,7 +1593,7 @@ function _booking_leader_helper_email_summary($node) {
|
||||
//find the other person
|
||||
$otherperson_query = db_query("SELECT m.*, p.* FROM {booking_studygroup_mapping} m " .
|
||||
" INNER JOIN {booking_person} p on m.booking_node_id = p.nid " .
|
||||
" WHERE booking_eventid = :eid " .
|
||||
" WHERE p.booking_eventid = :eid " .
|
||||
" AND booking_studygroup_id = :group AND booking_studygroup_role = :role AND booking_session_id = :session",
|
||||
array(':eid' => $event->eid, ':group' => $studygroup->sid, ':role' => $otherrole_id, ':session' => $node->$sessionid,
|
||||
));
|
||||
|
Reference in New Issue
Block a user