Skip to content

Commit

Permalink
this must be a number
Browse files Browse the repository at this point in the history
  • Loading branch information
istiak101 committed Aug 7, 2023
1 parent 8977dc0 commit 5d7c5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function doCreate($msg = '') {
echo "\t\t<td class=\"data\"><input name=\"name\" size=\"32\" maxlength=\"{$data->_maxNameLen}\" value=\"",
htmlspecialchars($_REQUEST['name']), "\" /></td>\n\t</tr>\n";
echo "\t<tr>\n\t\t<th class=\"data left required\">{$lang['strnumcols']}</th>\n";
echo "\t\t<td class=\"data\"><input name=\"fields\" size=\"5\" maxlength=\"{$data->_maxNameLen}\" value=\"",
echo "\t\t<td class=\"data\"><input type=\"number\" name=\"fields\" size=\"5\" maxlength=\"{$data->_maxNameLen}\" value=\"",
htmlspecialchars($_REQUEST['fields']), "\" /></td>\n\t</tr>\n";
if ($data->hasServerOids()) {
echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['stroptions']}</th>\n";
Expand Down

0 comments on commit 5d7c5a4

Please sign in to comment.