summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index ef0e0881..4ae1db02 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -4871,8 +4871,8 @@ include_once 'include/discovery.inc.php';
$script_info = DBfetch(DBselect("select name from scripts where scriptid=$scriptid"));
- $frmResult = new CFormTable(S_COMMENTS." ".$script_info["name"]);
- $frmResult->AddRow(S_COMMENTS,new CTextArea("message",$result["message"],100,25));
+ $frmResult = new CFormTable($script_info["name"].': '.script_make_command($scriptid,$hostid));
+ $frmResult->AddRow(S_RESULT,new CTextArea("message",$result["message"],100,25));
$frmResult->AddItemToBottomRow(new CButtonCancel(null,'close_window();'));
$frmResult->Show();