the problem is the code in line 207

    $confirm = variable_get('simplenews_opt_inout_' . $news_vid, 'double') == 'double';

$news_vid is an array but $tid should be used there
thus 'double' == 'double' always and $confirm is true

Comments

pcambra’s picture

Status: Active » Closed (duplicate)

Yes, that is a known problem, see #871558: compatibility with simplenews 2.x

giorgosk’s picture

Status: Closed (duplicate) » Active

there is deeper a underlying problem
the call to variable_get is not compatible with simplenews 7.x anymore as mentioned in #1364850: single opt_inout newsletter block sends confirmations emails

feel free to change the status again

zanix’s picture