Commit e7c37d94 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(mvc) add basename

(cherry picked from commit 0f8e9de3)
parent c8af49a3
...@@ -92,7 +92,7 @@ class JsonKeyValueStoreField extends BaseField ...@@ -92,7 +92,7 @@ class JsonKeyValueStoreField extends BaseField
*/ */
public function setSourceField($value) public function setSourceField($value)
{ {
$this->internalSourceField = $this->internalParentNode->$value; $this->internalSourceField = basename($this->internalParentNode->$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