FOGProject / fogproject

An open source computer cloning & management system
https://fogproject.org
GNU General Public License v3.0
1.09k stars 221 forks source link

PHP Warning for host.class.php script #512

Closed Pieshka closed 1 year ago

Pieshka commented 1 year ago

Maybe not a serious error but it would be worth correcting. If more than 1 MAC address is assigned to a Host, the following warning appears in the PHP log:

[05-Nov-2022 15:55:17 UTC] PHP Warning: Host::{closure}(): Argument #1 ($mac) must be passed by reference, value given in /var/www/html/fog/lib/fog/host.class.php on line 172

Sebastian-Roth commented 1 year ago

@Piotr86PL Thanks, this is fixed in 1.5.9.219...