ZF-9381: E_NOTICE raised on missing assoc_type param

Issue Type: Bug Created: 2010-03-09T10:13:24.000+0000 Last Updated: 2012-11-20T21:37:25.000+0000 Status: Open Fix version(s): Reporter: Troels Knak-Nielsen (troelskn) Assignee: None Tags: - Zend_OpenId

Related issues: Attachments:


I noticed entries like these in my error logs:

[24-Jan-2010 18:52:32] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'Undefined index:  assoc_type' in /foo/bar/Zend/OpenId/Consumer.php:635

The problem is this line:

if ($params['openid.assoc_type'] != $ret['assoc_type']) {

If assoc_type isn't set, it is consequently used in this line, thus raising a notice. This is bad, since I convert all notices to exceptions. As the application is already in an error state here, the impact is minor though.


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.