Commit be2a6df6 authored by Ad Schellevis's avatar Ad Schellevis

(mvc) fix inheritance of setValue methods

parent 02bd910d
...@@ -48,7 +48,7 @@ class NetworkField extends BaseField ...@@ -48,7 +48,7 @@ class NetworkField extends BaseField
*/ */
public function setValue($value) public function setValue($value)
{ {
$this->internalValue = trim(strtolower($value)); parent::setValue(trim(strtolower($value)));
} }
/** /**
......
...@@ -115,7 +115,7 @@ class PortField extends BaseField ...@@ -115,7 +115,7 @@ class PortField extends BaseField
*/ */
public function setValue($value) public function setValue($value)
{ {
$this->internalValue = strtolower($value); parent::setValue(trim(strtolower($value)));
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment