I'm getting the following warning while logging in. I'm running Drupal 5.1 (two warnings).
I've just installed the latest release (5.x-1.1 13-04) of Mass Contact. I'm using Logintoboggan module.

* warning: Missing argument 2 for variable_get() in /home/sterwind/public_html/drpl5/includes/bootstrap.inc on line 369.
* warning: Missing argument 2 for variable_get() in /home/sterwind/public_html/drpl5/includes/bootstrap.inc on line 369.

I've searched the forums and the only thing I can find is a 4.7 issue with Registration Code module. I don't use this module. I've deactivated Mass Contact and the problem disappeared. In the previous version this problem didn't show up.

Kind regards,

Sjaak Terwindt

Comments

NoahY’s picture

Yep, that's a bug. Sorry about that, I was using an if statement, so I didn't think of adding a default. I've fixed it and will add a 1.2 version asap. If you want to quick fix it, replace any instance of:

if (variable_get('mass_contact_optout_d') == 1)

with:

if (variable_get('mass_contact_optout_d',1) == 1)

sjaakter’s picture

Thanks for the quick respons. I used the quick fix and that works fine.

Thanks, Sjaak Terwindt.

NoahY’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)