2 voting modules in one node

taduliz - November 12, 2009 - 16:14
Project:Advanced Poll
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

If you have to voting modules ( e.g. "vote up and down" AND "Add poll" ) in advpoll.module on line 850 function votingapi_select_votes( ... ) need's more parameters.
It's better if you just write 'content_type' => 'advpoll', because if you voted with other module, this will pass and you will see "vote cancel form" instead of "voting form".

 
 

Drupal is a registered trademark of Dries Buytaert.