mvc: style sweep

This commit is contained in:
Franco Fichtner 2017-11-20 05:35:15 +01:00
parent f48e891ed8
commit 39f95f01e9
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ class NetworkinsightController extends ApiControllerBase
) {
$this->response->setRawHeader("Content-Type: application/octet-stream");
$this->response->setRawHeader("Content-Disposition: attachment; filename=".$provider.".csv");
if ($this->request->isGet() && $provider != null && $resolution != null ) {
if ($this->request->isGet() && $provider != null && $resolution != null) {
$backend = new Backend();
$configd_cmd = "netflow aggregate export {$provider} {$from_date} {$to_date} {$resolution}";
$response = $backend->configdRun($configd_cmd);

View File

@ -133,7 +133,7 @@ class MenuSystem
}
}
natcasesort($fwarr);
$fwarr = array_merge(array('FloatingRules' => gettext('Floating')), $fwarr);
$fwarr = array_merge(array('FloatingRules' => gettext('Floating')), $fwarr);
$ordid = 0;
foreach ($fwarr as $key => $descr) {
$this->appendItem('Firewall.Rules', $key, array(