mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
mvc: style sweep
This commit is contained in:
parent
10582447d3
commit
bf0c69dff2
@ -108,9 +108,11 @@ class Filter extends BaseModel
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty((string)$rule->interfacenot) && (
|
||||
if (
|
||||
!empty((string)$rule->interfacenot) && (
|
||||
count(explode(',', $rule->interface)) != 1 || empty((string)$rule->interface)
|
||||
)) {
|
||||
)
|
||||
) {
|
||||
$messages->appendMessage(new Message(
|
||||
gettext("Inverting interfaces is only allowed for single targets to avoid mis-interpretations"),
|
||||
$rule->interfacenot->__reference
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user