Page 1 of 1

Php errors in recent block

Posted: 13. May 2012 03:54
by begemont
Hi all!
Thank for release 2 version.
I notice error in recent block, if choose option select or exclude any forum.
Turn on debug and see folowing error.

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/portal/modules/portal_recent.php on line 68: Undefined index: board3_exclude_forums_26
line 68 is

Code: Select all

$sql_where = ' AND ' . $db->sql_in_set('forum_id', array_map('intval', $exclude_forums), ($config['board3_exclude_forums_' . $module_id]) ? true : false); 
Any solution?

Re: Php errors in recent block

Posted: 15. May 2012 00:08
by wang5555
Hi,
I get the similar error following:

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/portal/modules/portal_recent.php on line 68: Undefined index: board3_exclude_forums_11

Re: Php errors in recent block

Posted: 15. May 2012 00:23
by Marc

Re: Php errors in recent block

Posted: 15. May 2012 11:18
by wang5555
Marc wrote:Thanks for the report and fixed:
https://github.com/board3/Board3-Portal ... a358f1036d
Thanks for your reply, ths issue is resolved. :D