ZF-2402: Improve logic of throwExceptions()

Description

As noted on fw-mvc, the logic of Zend_Controller_Front::throwExceptions() is faulty, and should be rewritten to:


public function throwExceptions($flag = null)
{
    if ($flag !== null) {
        $this->_throwExceptions = (boolean) $flag;
        return $this;
    }
    return $this->_throwExceptions;
}

Comments

Scheduling for 1.0.4

Committed to trunk and release-1.0 branch.