array to string conversion

This commit is contained in:
Marc Delisle
2006-02-04 15:47:35 +00:00
parent 3809b1e8b8
commit 94d85a6bc3
2 changed files with 5 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ $Source$
2006-02-04 Marc Delisle <lem9@users.sourceforge.net>
* libraries/Config.class.php: bug #1409770 auto-detection and dirname on
Windows, thanks to Alex - nixniemand
* libraries/mult_submits.inc.php: array to string conversion
2006-01-31 Marc Delisle <lem9@users.sourceforge.net>
* db_details_structure.php: bug #1412058, damaged table reporting

View File

@@ -9,15 +9,15 @@
if (!empty($submit_mult)
&& ($submit_mult != $strWithChecked)
&& ( ( isset($selected_db) && strlen($selected_db) )
|| ( isset($selected_tbl) && strlen($selected_tbl) )
|| ( isset($selected_fld) && strlen($selected_fld) )
|| ( isset($selected_tbl) && (is_array($selected_tbl) || strlen($selected_tbl)))
|| ( isset($selected_fld) && (is_array($selected_fld) || strlen($selected_fld)))
|| !empty($rows_to_delete)
)) {
if (isset($selected_db) && strlen($selected_db)) {
$selected = $selected_db;
$what = 'drop_db';
} elseif (isset($selected_tbl) && strlen($selected_tbl)) {
} elseif (isset($selected_tbl) && (is_array($selected_tbl) || strlen($selected_tbl))) {
if ($submit_mult == $strPrintView) {
require('./tbl_printview.php');
} else {
@@ -54,7 +54,7 @@ if (!empty($submit_mult)
break;
} // end switch
}
} elseif (isset($selected_fld) && strlen($selected_fld)) {
} elseif (isset($selected_fld) && (is_array($selected_fld) || strlen($selected_fld))) {
$selected = $selected_fld;
switch ($submit_mult) {
case $strDrop: