$tables = $db->list_tables($mybb->config['database']['database'], $mybb->config['database']['table_prefix']); foreach($tables as $key => $table)
| $tables = $db->list_tables($mybb->config['database']['database'], $mybb->config['database']['table_prefix']); foreach($tables as $key => $table)
|
{ $db->update_query("settings", array('value' => (int)$boardclosed), "name='boardclosed'", 1); $db->update_query("settings", array('value' => $db->escape_string($boardclosed_reason)), "name='boardclosed_reason'", 1);
| { $db->update_query("settings", array('value' => (int)$boardclosed), "name='boardclosed'", 1); $db->update_query("settings", array('value' => $db->escape_string($boardclosed_reason)), "name='boardclosed_reason'", 1);
|