Closed (cannot reproduce)
Project:
Subscriptions
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2012 at 10:48 UTC
Updated:
25 Aug 2012 at 11:36 UTC
got an ugly error message when trying to create a digest template, pointing to line 339 of subscriptions.token.inc ... didn't really expect to see something useful when visiting that file (i am not a 'coder') i went there and discovered the typo in function subscriptions_token_info_alter where it spells
if (empty($massage_tokens))
after changing that to §message_tokens the error disappeared. pls correct it for next release.
thx a lot for your work! spent quite a time to figure out the messaging/notifications module framework but finally gave up and happily turned to subscriptions!
regards from vienna forest
karl
Comments
Comment #1
karingWhat is the error message you were getting?
$massage_tokensis used consistently throughout the code [line numbers could vary slightly - this is version = "7.x-1.0-beta4+3-dev"] - most notably two lines before theempty()that you edited:Comment #2
salvisNo follow-up.
"massage_tokens" is correct — this is a Boolean that says whether we need to massage (yes!) the tokens or not.
Changing it to $message_tokens is definitely wrong!