diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 31cefd18..6c1c2049 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -244,6 +244,7 @@ if (!$columns) { if (!$result) { echo "

" . htmlspecialchars($dbh->error) . "\n"; } else { + $email_fields = array(); echo "

\n"; if (!$result->num_rows) { echo "

" . lang('No rows.') . "\n"; @@ -255,8 +256,6 @@ if (!$columns) { } } - $email_fields = array(); - echo "\n"; for ($j=0; $row = $result->fetch_assoc(); $j++) { if (!$j) {