Vergleich admin/dbtools.php - 1.2.1 - 1.2.2

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 119Zeile 119
		$fields = implode(",", $field_list);
if($mybb->input['contents'] != 'data')
{

		$fields = implode(",", $field_list);
if($mybb->input['contents'] != 'data')
{

			$structure = $db->show_create_table($table)."\n";

			$structure = $db->show_create_table($table).";\n";

			$contents .= $structure;
}
if($mybb->input['contents'] != 'structure')

			$contents .= $structure;
}
if($mybb->input['contents'] != 'structure')

Zeile 133Zeile 133
				{
if(!isset($row[$field]) || trim($row[$field]) == "")
{

				{
if(!isset($row[$field]) || trim($row[$field]) == "")
{

						$insert .= $comma.'NULL';

						$insert .= $comma."''";

					}
else
{

					}
else
{

Zeile 141Zeile 141
					}
$comma = ',';
}

					}
$comma = ',';
}

				$insert .= ")\n";

				$insert .= ");\n";

				$contents .= $insert;
}
}

				$contents .= $insert;
}
}