Closed (fixed)
Project:
Simplenews
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2011 at 08:28 UTC
Updated:
23 Dec 2011 at 07:00 UTC
Jump to comment: Most recent file
Comments
Comment #0.0
corbacho commentedfixing solution
Comment #1
vogelsang commentedI got this problem. Anyway I can fix it? I like to get a newsletter up and running on my new D7 site.
I'm not sure wether or not you suggest to do something or the issue is just not prioritized right now. At least I can't figure out what to with the line you have written.
Thanks in advance :-)
Edit: I found a work around. I turned of every language but one from my Drupal installation, so apparently the language check isn't done anymore and I don't get the error.
Comment #2
bjaxelsen commentedI've made this patch, please check if it works :-)
Comment #3
simon georges commentedComment #4
.jon commentedThe patch in #2 fixes the issue.
Thanks bjaxelsen!
Comment #5
simon georges commentedWhat about using
user_preferred_language($account)instead, as suggested in the initial post ?Comment #6
sgabe commentedPatch attached using
user_preferred_language($account);as Simon requested.Comment #7
simon georges commentedThanks, sgabe!
Comment #8
miro_dietiker#6: simplenews_1230796_02.patch queued for re-testing.
Comment #9
giorgoskline numbers in module have changed
but otherwise change gets rid of the notices
Comment #11
berdirThanks, commited.
Comment #12.0
(not verified) commentedadd suggestion