fixed security_advisory check to work with refactored ZendDiagnostics