From: Jakub Vrana Date: Wed, 20 Feb 2013 00:46:29 +0000 (-0800) Subject: Avoid variable collision X-Git-Tag: v3.6.4~51 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=356cadf2b2214c39c377d7421717e1a5a3530c05;p=adminer.git Avoid variable collision --- 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";