Vergleich inc/tasks/checktables.php - 1.8.2 - 1.8.26

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 29Zeile 29
	$comma = "";
$tables_list = "";
$repaired = "";

	$comma = "";
$tables_list = "";
$repaired = "";

 
	$setting_done = false;


$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)

Zeile 61Zeile 62
			}
}


			}
}


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

		if($setting_done == true)

		{
$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);