1

Topic: 'Open' and 'Close' from "Moderate this forum"

Hello, very sorry for my english (I'm French).

'Open' and 'Close' from "Moderate this forum" are out.

In moderate.php, at the line 475, replace :

        $db->query('UPDATE '.$db->prefix.'topics SET closed='.$action.' WHERE id IN('.implode(',', array_keys($topics)).')') or error('Unable to close topics', __FILE__, __LINE__, $db->error());

By :

        $db->query('UPDATE '.$db->prefix.'topics SET closed='.$action.' WHERE id IN('.implode(',', $topics).')') or error('Unable to close topics', __FILE__, __LINE__, $db->error());

Re: 'Open' and 'Close' from "Moderate this forum"

Thanks for the report. However, it has already been fixed in SVN.

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