diff options
Diffstat (limited to 'lib/db-viewtable-html.lsp')
-rw-r--r-- | lib/db-viewtable-html.lsp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db-viewtable-html.lsp b/lib/db-viewtable-html.lsp index d3bc76f..a8efaa7 100644 --- a/lib/db-viewtable-html.lsp +++ b/lib/db-viewtable-html.lsp @@ -42,7 +42,7 @@ keyvalues.redir = redir.value <% local header_level2 = htmlviewfunctions.incrementheader(header_level) htmlviewfunctions.displayformstart(form, page_info) -if form.value.connection and next(form.value.connection.value) ~= nil then +if form.value.connection and ( next(form.value.connection.value) ~= nil or form.value.connection.errtxt ) then htmlviewfunctions.displayitem(form.value.connection, page_info, header_level2, "connection") end htmlviewfunctions.displayitem(form.value.table, page_info, header_level2, "table") |