Don't download script with no tables
This commit is contained in:
parent
ea258302b4
commit
09327efdaf
|
@ -154,7 +154,9 @@ if ($_GET["ns"] !== "") {
|
|||
echo '<p><a href="' . h(ME) . 'event=">' . lang('Create event') . "</a>\n";
|
||||
}
|
||||
|
||||
page_footer();
|
||||
echo "<script type='text/javascript' src='" . h(ME . "script=db&token=$token") . "'></script>\n";
|
||||
exit; // page_footer() already called
|
||||
if ($tables_list) {
|
||||
page_footer();
|
||||
echo "<script type='text/javascript' src='" . h(ME . "script=db&token=$token") . "'></script>\n";
|
||||
exit; // page_footer() already called
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue