Messing up database when people type in certain URLs
Juryiel - October 27, 2009 - 05:42
| Project: | Vote Up/Down |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
So if I enable the 'alternate' widget, copy the link for +1, paste it in the address bar, and replace the /1/ with /-1/ with everything else being the same, the node then gives the following error whenever I view it.
Is there some way to prevent this?
warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Apps\Apache Software Foundation\Apache2.2\htdocs\drupal6\sites\all\modules\voting_rec\voting_rec.module on line 138.

#1
Also, if someone can let me know how to get rid of that error that would be great :) Seems like it's an error with the recommender module based on the data that was put into the database. I tried uninstalling the recommender modules and the Vote modules but the error comes back when I re-enable them :(