diff options
Diffstat (limited to 'lib/db-listtables-html.lsp')
-rw-r--r-- | lib/db-listtables-html.lsp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/db-listtables-html.lsp b/lib/db-listtables-html.lsp index 3d7fe07..1dd56c5 100644 --- a/lib/db-listtables-html.lsp +++ b/lib/db-listtables-html.lsp @@ -25,7 +25,8 @@ <% htmlviewfunctions.displaycommandresults({"createdatabase"}, session, true) %> <% local header_level = htmlviewfunctions.displaysectionstart(form, page_info) %> -<% if form.value.connection and next(form.value.connection.value) ~= nil then +<% htmlviewfunctions.displayinfo(form) %> +<% if form.value.connection and ( next(form.value.connection.value) ~= nil or form.value.connection.errtxt ) then htmlviewfunctions.displayformstart(form, page_info) htmlviewfunctions.displayitem(form.value.connection, page_info, htmlviewfunctions.incrementheader(header_level), "connection") form.option = "Update" |