bdraco / addon_securityadvisor

Old Security Advisor for cPanel 11.40 (upstream repo) -- Use CPANELINC/addon_securityadvisor
Other
16 stars 56 forks source link

Syntax error when trying to access logger hash. #63

Closed Jrad7-zz closed 11 years ago

Jrad7-zz commented 11 years ago

Changed ()'s to {}'s to fix the following error when page loads: Not a CODE reference at /var/cpanel/addons/securityadvisor/perl/Cpanel/Security/Advisor.pm line 85.

Jrad7-zz commented 11 years ago

This should be the proper fix. Needed to add the method name when using logger, otherwise if you go down that code path it will crash the security advisor.