From 8032bb0a2f533c105a563af3155def23ad015e00 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 4 Feb 2006 15:52:32 +0000 Subject: [PATCH] array to string conversion --- libraries/mult_submits.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/mult_submits.inc.php b/libraries/mult_submits.inc.php index ed4102ade..4184bd3da 100644 --- a/libraries/mult_submits.inc.php +++ b/libraries/mult_submits.inc.php @@ -8,13 +8,13 @@ */ if (!empty($submit_mult) && ($submit_mult != $strWithChecked) - && ( ( isset($selected_db) && strlen($selected_db) ) + && ( ( isset($selected_db) && (is_array($selected_db) || strlen($selected_db))) || ( 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)) { + if (isset($selected_db) && (is_array($selected_db) || strlen($selected_db))) { $selected = $selected_db; $what = 'drop_db'; } elseif (isset($selected_tbl) && (is_array($selected_tbl) || strlen($selected_tbl))) {