summaryrefslogtreecommitdiffstats
path: root/openvpn-read-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn-read-html.lsp')
-rw-r--r--openvpn-read-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openvpn-read-html.lsp b/openvpn-read-html.lsp
index af5cd53..13fafaf 100644
--- a/openvpn-read-html.lsp
+++ b/openvpn-read-html.lsp
@@ -21,7 +21,7 @@
<TD><?= html.link{value = view.url .. "/" .. view.conflistfiles[i].type .. "_config?name=" .. view.conflistfiles[i].name , label=view.conflistfiles[i].name } ?></TD>
<TD><?= view.conflistfiles[i].type ?></TD>
<TD><?= view.conflistfiles[i].status ?></TD>
- <TD><? if view.conflistfiles[i].clients > 0 then ?><?= html.link{value = view.url .. "/status_info?name=" .. view.conflistfiles[i].name , label=view.conflistfiles[i].clients } ?><? else ?><?= view.conflistfiles[i].clients ?><? end ?></TD>
+ <TD><? if ( view.conflistfiles[i].clients > 0 ) then ?><?= html.link{value = view.url .. "/status_info?name=" .. view.conflistfiles[i].name , label=view.conflistfiles[i].clients } ?><? else ?><?= view.conflistfiles[i].clients ?><? end ?></TD>
<TD style="color:red"><?= view.conflistfiles[i].err ?></TD>
</TR>
<? end ?>