Severity: Notice
Message: Undefined variable: SESS
Filename: forum/mod.forum_core.php
Line Number: 7156I believe it legacy of EE1.6.x
if ($author_id != $SESS->userdata['member_id'])This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
July 14, 2010 5:22pm
Subscribe [3]#1 / Jul 14, 2010 5:22pm
Severity: Notice
Message: Undefined variable: SESS
Filename: forum/mod.forum_core.php
Line Number: 7156I believe it legacy of EE1.6.x
if ($author_id != $SESS->userdata['member_id'])#2 / Jul 14, 2010 5:38pm
Yes, this code is no longer valid in EE 2.0. Try
$this->EE->session->userdata['member_id']instead. Moving.
#3 / Jul 14, 2010 5:59pm
yes, I fixed it the same way, but to be clear - it’s still in your Forum module core, last version, function “Forum Delete Confirmation Page” 😊 so, its bug (I don’t really understand why is was moved to CodeShare Corner) - I add it into bug tracking.
#4 / Jul 14, 2010 6:16pm
That was my mistake, then, I am sorry: I had assumed this was in your template code somewhere. Moving back to Tech Support for now.
#5 / Jul 15, 2010 1:55am
Thanks for the report Max. Fixed for next release. Report here for cross reference
https://support.ellislab.com/bugs/detail/13146/