Avoid variable collision

This commit is contained in:
Jakub Vrana 2013-02-19 16:46:29 -08:00
parent 8caa889635
commit 356cadf2b2

View file

@ -158,12 +158,12 @@ if ($adminer->homepage()) {
if (support("type")) {
echo "<h3>" . lang('User types') . "</h3>\n";
$types = types();
if ($types) {
$user_types = types();
if ($user_types) {
echo "<table cellspacing='0'>\n";
echo "<thead><tr><th>" . lang('Name') . "</thead>\n";
odd('');
foreach ($types as $val) {
foreach ($user_types as $val) {
echo "<tr" . odd() . "><th><a href='" . h(ME) . "type=" . urlencode($val) . "'>" . h($val) . "</a>\n";
}
echo "</table>\n";