1
0
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:
Jakub Vrana
2010-10-18 02:15:13 +02:00
parent ea258302b4
commit 09327efdaf

View File

@@ -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";
} }
if ($tables_list) {
page_footer(); page_footer();
echo "<script type='text/javascript' src='" . h(ME . "script=db&token=$token") . "'></script>\n"; echo "<script type='text/javascript' src='" . h(ME . "script=db&token=$token") . "'></script>\n";
exit; // page_footer() already called exit; // page_footer() already called
}
} }