Closed (works as designed)
Project:
Simplenews
Version:
6.x-1.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2011 at 13:10 UTC
Updated:
26 Jun 2011 at 11:28 UTC
The tid field in the simplenews_newsletters is an int. The code however saves a searialzed array (to allow multiple newsletters).
It's never a problem because the value is never needed from the database, the value is set and immediately used.
As I am writing a module that allows the newsletter to be sent at a later time, I do need the value from the database.
Comments
Comment #1
miro_dietikerPlease refer to a codeline or even lineS.
If you're talking about the table simplenews_newsletters being int, it will never be able to store something serialized as it doesn't support anything else than numbers to be stored.
So please, provide some more context and a fully reproduceable story. Else we won't be able to help you.
Comment #2
maartendeblock commentedIt looks like someone hacked the module here. I can't find the code in the original download.