Vergleich admin/modules/tools/backupdb.php - 1.4.9 - 1.4.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: backupdb.php 4337 2009-03-30 01:21:51Z Tikitiki $

 * $Id: backupdb.php 4438 2009-08-25 01:36:10Z RyanGordon $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 201Zeile 201
				$field_list[] = $field['Field'];
}


				$field_list[] = $field['Field'];
}


			$fields = implode(",", $field_list);

			$fields = "`".implode("`,`", $field_list)."`";

			if($mybb->input['contents'] != 'data')
{
$structure = $db->show_create_table($table).";\n";

			if($mybb->input['contents'] != 'data')
{
$structure = $db->show_create_table($table).";\n";

Zeile 218Zeile 218
					$comma = '';
foreach($field_list as $field)
{

					$comma = '';
foreach($field_list as $field)
{

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

						if(!isset($row[$field]) || is_null($row[$field]))

						{

						{

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

							$insert .= $comma."NULL";

						}
else
{

						}
else
{