mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Don't download script with no tables
This commit is contained in:
@@ -154,7 +154,9 @@ if ($_GET["ns"] !== "") {
|
|||||||
echo '<p><a href="' . h(ME) . 'event=">' . lang('Create event') . "</a>\n";
|
echo '<p><a href="' . h(ME) . 'event=">' . lang('Create event') . "</a>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
page_footer();
|
if ($tables_list) {
|
||||||
echo "<script type='text/javascript' src='" . h(ME . "script=db&token=$token") . "'></script>\n";
|
page_footer();
|
||||||
exit; // page_footer() already called
|
echo "<script type='text/javascript' src='" . h(ME . "script=db&token=$token") . "'></script>\n";
|
||||||
|
exit; // page_footer() already called
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user