fixed broken file upload from db details pane

This commit is contained in:
Garvin Hicking
2004-05-23 18:48:00 +00:00
parent 1aaa89fa54
commit e727bb668e
2 changed files with 10 additions and 8 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-05-23 Garvin Hicking <pma@supergarv.de>
* db_details.php: Fixed broken file upload since redesign-patch.
2004-05-20 Michal Čihař <michal@cihar.com>
* many files: Little code reorganistaion (RFE #957308), removed some
remaining php3 compatibility code in SQL parser.

View File

@@ -65,8 +65,7 @@ $strHiddenFields = ' <input type="hidden" name="is_js_confirmed" value="0
<!-- Query box, sql file loader and bookmark support -->
<a name="querybox"></a>
<table border="0" cellpadding="2" cellspacing="0">
<form method="post" action="read_dump.php"
onsubmit="return checkSqlQuery(this)">
<form method="post" action="read_dump.php"<?php if ($is_upload) echo ' enctype="multipart/form-data"'; ?> onsubmit="return checkSqlQuery(this)" name="sqlform">
<tr><td class="tblHeaders" colspan="2">
<?php
echo $strHiddenFields;