fixed query, user accord with party now works fine

This commit is contained in:
messerbill 2014-03-31 16:20:20 +02:00
parent a8f2239f5c
commit f878e6ff45

View File

@ -13,5 +13,5 @@ class UVOTE_ACCORD_WITH_FRACTION extends \SYSTEM\DB\QP {
LEFT JOIN uvote_votes_per_party as p
ON v.ID = p.poll_ID
WHERE p.party = ?
AND d.user_ID = ?;'
AND d.user_ID = ? AND d.choice = p.choice;'
);}}