ZF-3612: Should be single quotation for a needle

Issue Type: Improvement Created: 2008-07-08T22:17:44.000+0000 Last Updated: 2008-12-21T06:09:21.000+0000 Status: Resolved Fix version(s): - 1.7.2 (23/Dec/08)

Reporter: Jason Qi (jason qi) Assignee: Jon Whitcraft (sidhighwind) Tags: - Zend_Auth

Related issues: Attachments:


In line 345 of file Zend_Auth_Adapter_DbTable.php

    if (empty($this->_credentialTreatment) || (strpos($this->_credentialTreatment, "?") === false)) {

I think it is better to use '?' instead of "?" as the needle for function strpos().


Posted by Jon Whitcraft (sidhighwind) on 2008-12-13T11:53:49.000+0000

Updated to be inline with the coding standards. (r13201)

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.