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.