Avoid variable collision
This commit is contained in:
parent
8caa889635
commit
356cadf2b2
|
@ -158,12 +158,12 @@ if ($adminer->homepage()) {
|
||||||
|
|
||||||
if (support("type")) {
|
if (support("type")) {
|
||||||
echo "<h3>" . lang('User types') . "</h3>\n";
|
echo "<h3>" . lang('User types') . "</h3>\n";
|
||||||
$types = types();
|
$user_types = types();
|
||||||
if ($types) {
|
if ($user_types) {
|
||||||
echo "<table cellspacing='0'>\n";
|
echo "<table cellspacing='0'>\n";
|
||||||
echo "<thead><tr><th>" . lang('Name') . "</thead>\n";
|
echo "<thead><tr><th>" . lang('Name') . "</thead>\n";
|
||||||
odd('');
|
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 "<tr" . odd() . "><th><a href='" . h(ME) . "type=" . urlencode($val) . "'>" . h($val) . "</a>\n";
|
||||||
}
|
}
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
|
|
Loading…
Reference in a new issue