Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Trivial Patch: Fix 2 undefined index errors in Forum module


Reply


2 Posts   1690 Views

Avatar
elijahlofgren

Google Summer of Code Hacker, 222 Posts

24 May 2007 at 6:22am

I tried out the new 2.0.0beta of the Forum module and I got these 2 errors when viewing a post:

Notice: Undefined index: showPost in /var/www/silverstripe/forum/code/Forum.php on line 401

Notice: Undefined index: start in /var/www/silverstripe/forum/code/Forum.php on line 409

This patch fixes those errors:
http://www.elijahlofgren.com/silverstripe/patches/modules/forum/Fix-undefined-showPost-start-errors-forum-2.0.0beta.patch

Hope this helps,

Elijah

Avatar
Andy

230 Posts

28 May 2007 at 2:59pm

This has been applied, but it won't be in the daily builds. The release on the daily builds is the version we use on this site, due to the development branch being fairly unstable at the moment.