From 356cadf2b2214c39c377d7421717e1a5a3530c05 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 19 Feb 2013 16:46:29 -0800 Subject: [PATCH] Avoid variable collision --- adminer/db.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adminer/db.inc.php b/adminer/db.inc.php index 101d4911..4db10296 100644 --- a/adminer/db.inc.php +++ b/adminer/db.inc.php @@ -158,12 +158,12 @@ if ($adminer->homepage()) { if (support("type")) { echo "

" . lang('User types') . "

\n"; - $types = types(); - if ($types) { + $user_types = types(); + if ($user_types) { echo "\n"; echo "\n"; odd(''); - foreach ($types as $val) { + foreach ($user_types as $val) { echo "
" . lang('Name') . "
" . h($val) . "\n"; } echo "
\n";