Download & Extend

Code error in voting_actions_ui.inc

Project:Voting Actions
Version:5.x-2.0b2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I get the following error when trying to edit an action. I wonder if it is related to user defined content types?

warning: Invalid argument supplied for foreach() in /mnt/w0201/d36/s35/b02ae1cf/www/bullbearbuzz.com/cms/sites/all/modules/voting_actions/voting_actions_ui.inc on line 460.

Comments

#1

I also have this exact problem. Does anyone have any ideas? The module seems useless for my purposes without a fix for this. When I try to edit a voting_action that is supposed to promote a node to the front page, it has always reverted back to publish node instead. So I wonder if the broken line of code isn't one that *saves* the action that is supposed to result from the condition.