Zeile 119 | Zeile 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 133 | Zeile 133 |
---|
{ if(!isset($row[$field]) || trim($row[$field]) == "") {
|
{ if(!isset($row[$field]) || trim($row[$field]) == "") {
|
$insert .= $comma.'NULL';
| $insert .= $comma."''";
|
} else {
| } else {
|
Zeile 141 | Zeile 141 |
---|
} $comma = ','; }
|
} $comma = ','; }
|
$insert .= ")\n";
| $insert .= ");\n";
|
$contents .= $insert; } }
| $contents .= $insert; } }
|