Issues

ZF-5722: Array to string conversion in Zend_Db_Table_Abstract $_name property

Issue Type: Bug Created: 2009-02-10T04:36:58.000+0000 Last Updated: 2009-07-17T13:25:36.000+0000 Status: Resolved Fix version(s): Reporter: Aron Rotteveel (arondeparon) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db_Table

Related issues: Attachments:

Description

Zend_Db_Table_Abstract's $_name property allows array values in order to provide support for table aliases. On line 656, a string-specific function is used on this property, resulting in a NOTICE error:

    } else if (strpos($this->_name, '.')) {

Comments

Posted by Ralph Schindler (ralph) on 2009-07-17T13:25:24.000+0000

Fixed the docblock, array is not a valid type of $_name. I am not sure where the alias feature is notated, but I cant see any evidence of this feature existing.

Closing as not an issue.

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts