File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,14 @@ my $d = &get_domain($in{'dom'});
15
15
my ($sinfo ) = grep { $_ -> {' id' } eq $in {' sid' } } &list_domain_scripts($d );
16
16
my $script = &get_script($sinfo -> {' name' });
17
17
$script || &error($text {' scripts_emissing' });
18
+ my $desc = $script -> {' tmdesc' } || $script -> {' desc' };
18
19
19
20
# Run
20
21
my $apply_func = $script -> {' kit_apply_func' };
21
22
if (defined (&$apply_func )) {
22
23
# Print header
23
24
&ui_print_unbuffered_header(&domain_in($d ),
24
- &text(" scripts_kit" , $script -> { ' tmdesc ' } ), " " );
25
+ &text(" scripts_kit" , $desc ), " " );
25
26
&$apply_func ($d , \%in , $sinfo , $script );
26
27
# Print footer
27
28
&ui_print_footer(
@@ -32,5 +33,5 @@ if (defined(&$apply_func)) {
32
33
&domain_footer_link($d ));
33
34
}
34
35
else {
35
- &error(&text(' scripts_gpl_pro_tip_workbench_enot' , $script -> { ' tmdesc ' } ));
36
+ &error(&text(' scripts_gpl_pro_tip_workbench_enot' , $desc ));
36
37
}
You can’t perform that action at this time.
0 commit comments