Avoid off by one error

This commit is contained in:
Michal Čihař 2013-01-03 14:27:05 +01:00
parent 96f5cdc712
commit aa010110ee

View File

@ -364,7 +364,7 @@ class PMA_User_Schema
echo '</table>';
echo '<input type="hidden" name="c_table_rows" value="' . ($i + 1) . '" />';
echo '<input type="hidden" name="c_table_rows" value="' . $i . '" />';
echo '<input type="hidden" id="showwysiwyg" name="showwysiwyg" value="' . ((isset($showwysiwyg) && $showwysiwyg == '1') ? '1' : '0') . '" />';
echo '<input type="checkbox" name="with_field_names" ' . (isset($with_field_names) ? 'checked="checked"' : ''). ' />' . __('Column names') . '<br />';
echo '<input type="submit" value="' . __('Save') . '" />';