Commit 69d4aa9f authored by Ad Schellevis's avatar Ad Schellevis

(mvc, base model) fix attribute copy

parent 4ee4a938
...@@ -95,7 +95,7 @@ abstract class BaseModel ...@@ -95,7 +95,7 @@ abstract class BaseModel
// copy xml tag attributes to Field // copy xml tag attributes to Field
if ($config_data != null) { if ($config_data != null) {
foreach ($config_data->attributes() as $AttrKey => $AttrValue) { foreach ($config_data->attributes() as $AttrKey => $AttrValue) {
$internal_data->setAttributeValue($AttrKey, $AttrValue); $internal_data->setAttributeValue($AttrKey, $AttrValue->__toString());
} }
} }
......
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