ZF-12335: Optimalisation of quoting function in Zend_Db_Adapter_Abstract

Description

in abstract class Zend_Db_Adapter_Abstract in function quote() lines #871-873 is not effectivelly used recursive call. It is not needed to call recursive function for not array wars. So it should be replaced by:


  if (is_array($val)) {
    $val = $this->quote($val, $type);
  } else {
    $val = $this->_quote($val);
  }

Comments

No comments to display