QuickForm: allow public access to getSentValue

This commit is contained in:
Thomas Gelf 2015-11-06 09:40:49 +01:00
parent 775cf0104e
commit de3c824fb2
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ abstract class QuickForm extends Zend_Form
$this->getElement(self::ID)->setIgnore(true); $this->getElement(self::ID)->setIgnore(true);
} }
protected function getSentValue($name, $default = null) public function getSentValue($name, $default = null)
{ {
$request = $this->getRequest(); $request = $this->getRequest();
if ($request->isPost() && $this->hasBeenSent()) { if ($request->isPost() && $this->hasBeenSent()) {