Navigation Menu

Skip to content

Commit

Permalink
Undefined variable and testuite fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushchd committed Aug 20, 2013
1 parent 4045d41 commit 33f4871
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions libraries/insert_edit.lib.php
Expand Up @@ -1552,9 +1552,9 @@ function PMA_getSumbitAndResetButtonForActionsPanel($tabindex, $tabindex_for_val
. '</td>'
. '<td colspan="3" class="right vmiddle">'
. '<input type="submit" class="control_at_footer" value="' . __('Go') . '"'
. 'tabindex="' . ($tabindex + $tabindex_for_value + 6) . '" id="buttonYes" />'
. ' tabindex="' . ($tabindex + $tabindex_for_value + 6) . '" id="buttonYes" />'
. '<input type="reset" class="control_at_footer" value="' . __('Reset') . '"'
. 'tabindex="' . ($tabindex + $tabindex_for_value + 7) . '" />'
. ' tabindex="' . ($tabindex + $tabindex_for_value + 7) . '" />'
. '</td>';
}

Expand Down Expand Up @@ -1613,6 +1613,7 @@ function PMA_getSpecialCharsAndBackupFieldForExistingRow(
$real_null_value, $gis_data_types, $column_name_appendix
) {
$special_chars_encoded = '';
$data = null;
// (we are editing)
if (is_null($current_row[$column['Field']])) {
$real_null_value = true;
Expand Down Expand Up @@ -1775,8 +1776,10 @@ function PMA_isInsertRow()
$header = $response->getHeader();
$scripts = $header->getScripts();
$scripts->addFile('tbl_change.js');
include 'tbl_change.php';
exit;
if (!defined('TESTSUITE')) {
include 'tbl_change.php';
exit;
}
}
}

Expand Down

0 comments on commit 33f4871

Please sign in to comment.