avoid notices after table creation

This commit is contained in:
Marc Delisle
2008-12-25 14:33:16 +00:00
parent 197434c7b1
commit 8377b1b41d

View File

@@ -248,6 +248,11 @@ if (isset($_REQUEST['do_save_data'])) {
$display_query = $sql_query;
$sql_query = '';
// read table info on this newly created table, in case
// the next page is Structure
$reread_info = true;
require './libraries/tbl_info.inc.php';
// do not switch to sql.php - as there is no row to be displayed on a new table
if ($cfg['DefaultTabTable'] === 'sql.php') {
require './tbl_structure.php';