mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
interfaces: code review, flip logic
This commit is contained in:
parent
5d83d8612c
commit
4482cb1d6c
@ -3588,7 +3588,7 @@ function get_parent_interface($interface, $avoidrecurse = false)
|
||||
$parents = array();
|
||||
|
||||
$realif = get_real_interface($interface);
|
||||
if (does_interface_exist($realif)) {
|
||||
if (!does_interface_exist($realif)) {
|
||||
return $parents;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user