aboutsummaryrefslogtreecommitdiffstats
path: root/config/widget-antivirus/antivirus_status.widget.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/widget-antivirus/antivirus_status.widget.php')
-rw-r--r--config/widget-antivirus/antivirus_status.widget.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/widget-antivirus/antivirus_status.widget.php b/config/widget-antivirus/antivirus_status.widget.php
index 82f9a74e..f1079ea9 100644
--- a/config/widget-antivirus/antivirus_status.widget.php
+++ b/config/widget-antivirus/antivirus_status.widget.php
@@ -112,7 +112,8 @@ function dwg_av_statistic() {
// Show package version at least, no good quick way to get the PBI version
echo "pkg v{$config['installedpackages']['package'][get_pkg_id("havp")]['version']}";
} else {
- echo pkg_exec("query '%v' havp");
+ pkg_exec("query '%v' havp", $version, $err);
+ echo $version;
}
?>
</td>