summaryrefslogtreecommitdiffstats
path: root/syslog-config-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'syslog-config-html.lsp')
-rw-r--r--syslog-config-html.lsp11
1 files changed, 2 insertions, 9 deletions
diff --git a/syslog-config-html.lsp b/syslog-config-html.lsp
index 8284dc7..dc8fe5a 100644
--- a/syslog-config-html.lsp
+++ b/syslog-config-html.lsp
@@ -104,17 +104,10 @@ if (myform) and (myform[tags[1]]) then
<? end ?>
</dd>
-<? --[[ ?>
- <? if (myform.cmd_save_result) then ?>
- <? local temp ?>
- <? for k,v in pairs(myform.cmd_save_result) ?>
- <? temp = temp .. k ?>
- <? end ?>
-
+ <? if (form.cmdmanagement) and (#form.cmdmanagement.descr > 0) then ?>
<dt>Previous action result</dt>
- <dd><pre><?= temp ?></pre></dd>
+ <dd><pre><?= form.cmdmanagement.descr ?></pre></dd>
<? end ?>
-<? --]] ?>
</dl>
</form>