/
Errata - 2.3.1 OSX Auditing

Errata - 2.3.1 OSX Auditing

There is a bug to do with setting the Mac model (then posting it in the database). You can make the below modifications, or use the file attached. 

Edit the file -

Windows - c:\xampplite\open-audit\code_igniter\application\models\m_device.php

Linux - /usr/local/open-audit/code_igniter/application/models/m_device.php

Change line 1107 from:

$data[] = $value;

to

 $data[] = (string)$value;


You should also change line 1335 from:

$data[] = $field->value;

to

$data[] = (string)$field->value;

 

I have attached the revised file if you simply want to replace it.

Apologies for any inconvienence.

Mark.

 

m_device.php

Related content

Errata - 4.0.2 Upload CSV of devices
Errata - 4.0.2 Upload CSV of devices
More like this
Errata - 2.3.2, 2.3.1 Manually creating a new device
Errata - 2.3.2, 2.3.1 Manually creating a new device
More like this
Errata - 2.3.1 Setting the first_seen attribute
Errata - 2.3.1 Setting the first_seen attribute
More like this
Errata - 1.12_2 patch for opConfig
Errata - 1.12_2 patch for opConfig
More like this
Errata - 2.1 Updating MAC Addresses from Nmap
Errata - 2.1 Updating MAC Addresses from Nmap
More like this
Errata - 4.1.2 Import Devices from NMIS
Errata - 4.1.2 Import Devices from NMIS
More like this