mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
(legacy) fix PHP Strict Standards: Only variables should be passed by reference in /usr/local/etc/inc/util.inc on line 861
This commit is contained in:
parent
d0ee041ef4
commit
cd381db4b8
@ -858,7 +858,8 @@ function get_interface_list($only_active = false)
|
||||
}
|
||||
|
||||
foreach ($ifnames as $ifname) {
|
||||
if (in_array(array_shift(preg_split('/\d/', $ifname)), $vfaces)) {
|
||||
$tmp_ifnames = preg_split('/\d/', $ifname);
|
||||
if (in_array(array_shift($tmp_ifnames), $vfaces)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user