Topic: Mass Closing/Opening of Topics

Doesn't work
The cause seems to be the

implode(',', array_keys($topics))

bit of the UPDATE query (array_keys is already done in array_map before, but since I've never used either I dunno if that means anything). Removing array_keys from the query makes it get the correct ids.

Re: Mass Closing/Opening of Topics

Correct. The call to array_keys() shouldn't be there.

http://dev.punbb.org/changeset/152

"Programming is like sex: one mistake and you have to support it for the rest of your life."