Skip to content

Commit

Permalink
Fix for enabled, frontend template
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul authored and Paul committed Jul 30, 2020
1 parent 6d99b43 commit ac2cf18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/paper_lantern/maldet/index.html.tt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SET maldet_recent = Uapi.exec('Maldet', 'recent');
page_title = locale.maketext('Linux Malware Detect')
app_key = 'maldet',
-%]
[% IF maldet_enabled.data == 1 %]
[% IF maldet_enabled.data == '1' %]
<div class="body-content">
<p>Scan your home directory for Linux based malware.</p>
[% IF CPANEL.feature('maldet'); %]
Expand Down
2 changes: 1 addition & 1 deletion src/templates/maldet.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Use the panels below to configure LMD.
<input type="submit" class="btn btn-primary" value="Edit Config">
</form>

[% IF mdconfig.scan_user_access == 1 %]
[% IF mdconfig.scan_user_access == '1' %]
<form method="POST" action="index.cgi?cgiaction=disableuser">
<input type="submit" class="btn btn-primary" value="Disable Userscan">
</form>
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.2
0.3.3

0 comments on commit ac2cf18

Please sign in to comment.