Lock/Unlock thread bug in RC5 (Bugs)

by Otto, Thursday, September 11, 2008, 17:54 (5705 days ago)

It appears tha moderators cannot lock or unlock threads.

I think the error is in "posting.inc.php"

line 1465
// if user is authorized to lock:
if(isset(...) && ... || isset($_GET['lock']) && ...)

Should be
if(isset(...) && ... || isset($_GET['lock_thread']) && ...)

similarly a little bit below
// if user is authorized to lock:
if(isset(...) && ... || isset($_GET['lock']) && ...)

Should be
if(isset(...) && ... || isset($_GET['unlock_thread']) && ...)

Otto

locked
8208 views
Avatar

Lock/Unlock thread bug in RC5

by Alex ⌂, Friday, September 12, 2008, 13:51 (5704 days ago) @ Otto

Hi Otto,

you're right, thank you!

Alex

locked
7908 views

RSS Feed of thread