(mvc) fix inheritance of setValue methods

This commit is contained in:
Ad Schellevis 2015-07-02 08:55:08 +02:00
parent 02bd910d70
commit be2a6df6ec
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class NetworkField extends BaseField
*/
public function setValue($value)
{
$this->internalValue = trim(strtolower($value));
parent::setValue(trim(strtolower($value)));
}
/**

View File

@ -115,7 +115,7 @@ class PortField extends BaseField
*/
public function setValue($value)
{
$this->internalValue = strtolower($value);
parent::setValue(trim(strtolower($value)));
}
/**