undefined variables

This commit is contained in:
Marc Delisle
2010-10-31 05:51:38 -04:00
parent 2f580bb085
commit 08c0f4e921
2 changed files with 3 additions and 2 deletions

View File

@@ -625,7 +625,8 @@ $(document).ready(function() {
'rel_fields_list' : rel_fields_list,
'do_transformations' : transformation_fields,
'transform_fields_list' : transform_fields_list,
'goto' : 'sql.php'
'goto' : 'sql.php',
'submit_type' : 'save'
};
$.post('tbl_replace.php', post_params, function(data) {

View File

@@ -677,7 +677,7 @@ if (0 == $num_rows || $is_affected) {
if(isset($GLOBALS['display_query'])) {
$extra_data['sql_query'] = PMA_showMessage(NULL, $GLOBALS['display_query']);
}
if ($GLOBALS['reload'] == 1) {
if (isset($GLOBALS['reload']) && $GLOBALS['reload'] == 1) {
$extra_data['reload'] = 1;
$extra_data['db'] = $GLOBALS['db'];
}