When attempting to do a "SNMP scan" for an esxi host I got an error "Parse error: syntax error, unexpected T_LOGICAL_AND, expecting ')' in line 242 c:\xampplite\open-audit\code_igniter\application\controllers\admin_system.php
this is line 242 [quote] if (!empty($credential->type and $credential->type == 'snmp')) {
Here is the fix [quote] if (!empty($credential->type) and $credential->type == 'snmp') {
I moved a close from the end, to after the first "type"
_________________ Server Info: running on a CentOS 7 vm OA Version: 2.0.6 @ 500 devices
|