netflow: fix previous

This commit is contained in:
Franco Fichtner 2018-03-30 09:09:20 +00:00
parent 3dc1ff68aa
commit 87663b5c7b

View File

@ -30,7 +30,7 @@ function netflow_enabled()
{
$mdl = new \OPNsense\Diagnostics\Netflow();
return !empty((string)$mdlNetflow->capture->targets) && !empty((string)$mdlNetflow->capture->interfaces);
return !empty((string)$mdl->capture->targets) && !empty((string)$mdl->capture->interfaces);
}
function netflow_local_enabled()