$_POST can be empty in tables with set-type fields only

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@33 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2007-07-05 09:03:05 +00:00
parent 0970a58365
commit 8788ab238f

View file

@ -97,7 +97,7 @@ foreach ($fields as $name => $field) {
} }
echo "</td></tr>\n"; echo "</td></tr>\n";
} }
echo "<tr><th></th><td><input type='submit' value='" . lang('Save') . "' /> <input type='submit' name='insert' value='" . lang('Save and insert') . "' />" . ($where ? " <input type='submit' name='delete' value='" . lang('Delete') . "' />" : "") . "</td></tr>\n"; echo "<tr><th><input type='hidden' name='sent' value='1' /></th><td><input type='submit' value='" . lang('Save') . "' /> <input type='submit' name='insert' value='" . lang('Save and insert') . "' />" . ($where ? " <input type='submit' name='delete' value='" . lang('Delete') . "' />" : "") . "</td></tr>\n";
?> ?>
</table> </table>
</form> </form>