Issues

ZF-2628: quoteTableAs creates a warning when alias not specified

Issue Type: Bug Created: 2008-02-12T16:08:22.000+0000 Last Updated: 2008-03-26T17:39:18.000+0000 Status: Resolved Fix version(s): Reporter: Max Gordon (mgordon) Assignee: julien PAULI (doctorrock83) Tags: - Zend_Db

Related issues: - ZF-2825

Attachments:

Description

Zend_Db_Adapter_Abstract::quoteTableAs is declared:

public function quoteTableAs($ident, $alias, $auto=false)
{
    return $this->_quoteIdentifierAs($ident, $alias, $auto);
}

This generates a warning when $alias isn't specified. Change to:

public function quoteTableAs($ident, $alias=null, $auto=false)
{
    return $this->_quoteIdentifierAs($ident, $alias, $auto);
}

Comments

Posted by julien PAULI (doctorrock83) on 2008-02-18T15:01:47.000+0000

fixed in r8146

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