Problem/Motivation
Looks like they picked the wrong table in like 276. The status is stored in the user table not the simplenews_snid_tid table.
Proposed resolution
The patch should look like this i guess:
Index: sites/all/modules/simplenews_scheduler/simplenews_scheduler.module
===================================================================
--- sites/all/modules/simplenews_scheduler/simplenews_scheduler.module
+++ sites/all/modules/simplenews_scheduler/simplenews_scheduler.module
@@ -273,7 +273,7 @@
ON ss.uid = u.uid
INNER JOIN {simplenews_snid_tid} s
ON ss.snid = s.snid
- AND s.tid = %d AND s.status = 1';
+ AND s.tid = %d AND u.status = 1';
$result = db_query($query, $newsletter_tid);
Comments
Comment #1
dgtlmoon commentedIt looks like simplenews_snid_tid does have the 'status' column, this lets us know if someone's subscription to that termid (newsletter) is active or not, how did you get this error? which version of simplenews are you running?
Comment #2
dgtlmoon commentedcheck the version if simplenews you are running?