Vergleich inc/tasks/checktables.php - 1.6.9 - 1.6.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 51Zeile 51
					$boardclosed_reason = $mybb->settings['boardclosed_reason'];

$db->update_query("settings", array('value' => 1), "name='boardclosed'", 1);

					$boardclosed_reason = $mybb->settings['boardclosed_reason'];

$db->update_query("settings", array('value' => 1), "name='boardclosed'", 1);

					$db->update_query("settings", array('value' => $lang->error_database_repair), "name='boardclosed_reason'", 1);

					$db->update_query("settings", array('value' => $db->escape_string($lang->error_database_repair)), "name='boardclosed_reason'", 1);

					rebuild_settings();

$setting_done = true;

					rebuild_settings();

$setting_done = true;

Zeile 64Zeile 64
		
if($table['Table'] != $mybb->config['database']['table_prefix'].".".TABLE_PREFIX."settings" && $setting_done == true)
{

		
if($table['Table'] != $mybb->config['database']['table_prefix'].".".TABLE_PREFIX."settings" && $setting_done == true)
{

			$db->update_query("settings", array('value' => $boardclosed), "name='boardclosed'", 1);
$db->update_query("settings", array('value' => $boardclosed_reason), "name='boardclosed_reason'", 1);

			$db->update_query("settings", array('value' => intval($boardclosed)), "name='boardclosed'", 1);
$db->update_query("settings", array('value' => $db->escape_string($boardclosed_reason)), "name='boardclosed_reason'", 1);

					
rebuild_settings();
}

					
rebuild_settings();
}