mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 03:53:59 +02:00
Replace isset($var) by $var !== null
This commit is contained in:
@@ -67,7 +67,7 @@ if ($adminer->homepage()) {
|
||||
echo (support("comment") ? '<td>' . lang('Comment') : '');
|
||||
echo "</thead>\n";
|
||||
foreach ($tables_list as $name => $type) {
|
||||
$view = (isset($type) && !eregi("table", $type));
|
||||
$view = ($type !== null && !eregi("table", $type));
|
||||
echo '<tr' . odd() . '><td>' . checkbox(($view ? "views[]" : "tables[]"), $name, in_array($name, $tables_views, true), "", "formUncheck('check-all');");
|
||||
echo '<th><a href="' . h(ME) . 'table=' . urlencode($name) . '" title="' . lang('Show structure') . '">' . h($name) . '</a>';
|
||||
if ($view) {
|
||||
|
Reference in New Issue
Block a user