Closed (fixed)
Project:
Fivestar
Version:
5.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Jun 2007 at 18:18 UTC
Updated:
12 Nov 2007 at 22:41 UTC
Fivestar module seems to have a small but annoying bug:
when previewing a node enabled for fivestar rating, fivestar.module assumes a node-id on line 390, which doesn't exist in this case, and triggers node_load with an empty string instead of node-id or id array.
Thus, a mysql error occurs and further php warnings are thrown.
the attached patch should be a simple fix for this bug, simply outputing no fivestar form when in preview mode.
| Comment | File | Size | Author |
|---|---|---|---|
| patch-fivestar.module-previewmode.patch | 570 bytes | danielnolde |
Comments
Comment #1
quicksketchThanks! Sorry it took so long to get to this bug. Committed.
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.