mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Misc fixes 42 (#15413)
* Misc Fixes * Apply fixes from StyleCI --------- Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
@@ -470,7 +470,7 @@ class Device extends BaseModel
|
||||
|
||||
public function setIpAttribute($ip): void
|
||||
{
|
||||
$this->attributes['ip'] = inet_pton($ip);
|
||||
$this->attributes['ip'] = inet_pton($ip ?? '');
|
||||
}
|
||||
|
||||
public function setStatusAttribute($status): void
|
||||
|
Reference in New Issue
Block a user