Open-AudIT
http://www.open-audit.org/phpBB3/

[bug] [fixed] Undefined property: stdClass::$ip ver 1.12.8
http://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6548
Page 1 of 1

Author:  shanimal [ Sat Aug 20, 2016 4:02 am ]
Post subject:  [bug] [fixed] Undefined property: stdClass::$ip ver 1.12.8

version 1.12.8

When using the SNMP scan option for some esxi hosts, I kept gettin an error "php Undefined property: stdClass::$ip" in line 737 of file c:\xampplite\open-audit\code-igniter\application\models\m_devices_components.php

line 737
Quote:
$log_details->message = 'Inserting change logs (' . $table . ') for '.ip_address_from_db($details->ip).' ('.$name.')';


line 737 fixed

Quote:
$log_details->message = 'Inserting change logs (' . $table . ') for '.@ip_address_from_db($details->ip).' ('.$name.')';


the @ was missing in front of ip_address_from_db

Author:  vwercher [ Sat Aug 20, 2016 5:29 am ]
Post subject:  Re: [bug] [fixed] Undefined property: stdClass::$ip ver 1.1

Fixed, thanks!

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/