diff --git a/db_datadict.php b/db_datadict.php index e53c992dfe..8602d95f4a 100644 --- a/db_datadict.php +++ b/db_datadict.php @@ -67,7 +67,8 @@ foreach ($tables as $table) { /** * Gets table information */ - $show_comment = $GLOBALS['dbi']->getTable($db, $table)->sGetStatusInfo('TABLE_COMMENT'); + $show_comment = $GLOBALS['dbi']->getTable($db, $table) + ->sGetStatusInfo('TABLE_COMMENT'); /** * Gets table keys and retains them diff --git a/db_designer.php b/db_designer.php index 221087ee4e..00731675c4 100644 --- a/db_designer.php +++ b/db_designer.php @@ -94,8 +94,8 @@ if (isset($_REQUEST['operation'])) { && $GLOBALS['cfgRelation']['designersettingswork'] ) { $orig_data_query = 'SELECT ' . PMA_Util::backquote('settings_data') - . ' FROM `' . $cfgDesigner['db'] . '`.`' . $cfgDesigner['table'] . '` WHERE ' - . PMA_Util::backquote('username') . ' = "' + . ' FROM `' . $cfgDesigner['db'] . '`.`' . $cfgDesigner['table'] + . '` WHERE ' . PMA_Util::backquote('username') . ' = "' . $cfgDesigner['user'] . '"'; $orig_data = $GLOBALS['dbi']->fetchSingleRow($orig_data_query); @@ -113,8 +113,8 @@ if (isset($_REQUEST['operation'])) { $save_query = 'UPDATE `' . $cfgDesigner['db'] . '`.`' . $cfgDesigner['table'] . '` SET ' . PMA_Util::backquote('settings_data') . ' = \'' - . $orig_data . '\' WHERE ' . PMA_Util::backquote('username') . ' = "' - . $cfgDesigner['user'] . '";'; + . $orig_data . '\' WHERE ' . PMA_Util::backquote('username') + . ' = "' . $cfgDesigner['user'] . '";'; $success = $GLOBALS['dbi']->query($save_query); } else { @@ -122,7 +122,8 @@ if (isset($_REQUEST['operation'])) { $query = 'INSERT INTO ' . PMA_Util::backquote($cfgDesigner['db']) . '.' . PMA_Util::backquote($cfgDesigner['table']) - . ' VALUES("' . PMA_Util::sqlAddSlashes($cfgDesigner['user']) . '", \'' + . ' VALUES("' . PMA_Util::sqlAddSlashes($cfgDesigner['user']) + . '", \'' . PMA_Util::sqlAddSlashes(json_encode($save_data)) . '\');'; $success = $GLOBALS['dbi']->query($query); diff --git a/db_export.php b/db_export.php index 67871bd654..1657a87bf8 100644 --- a/db_export.php +++ b/db_export.php @@ -44,7 +44,8 @@ if (isset($_GET['structure_or_data_forced'])) { } else { $force_val = 0; } -$multi_values .= ''; +$multi_values .= ''; $multi_values .= '