Bug #21911 Bug Fixed

PHP error in spam module when channel form spam exists.

Version: 3.3.3 Reporter: Robin Sowell

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

If you have channel form spam, in the spam module cp you get a php error

“Undefined index: api_channel_form_channel_entries
ee/EllisLab/Addons/spam/mcp.spam.php, line 173 “

Also, the ‘All’ filter brings back nothing.

  • In system/EE/Ellislab/Addons/spam/mcp.spam.php around line 185 edit to look like:

    $content_type = array(
       'Comment' => 'comment',
       'Email' => 'email',
       'Forum_core' => 'forum_post',
       'Wiki' => 'wiki_post',
       'api_channel_form_channel_entries' => 'channel_form'
      );

    And line 114 change to

    if ( ! empty($filter_values['content_type']) && strtolower($filter_values['content_type']) != 'all')
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases