fixed properties
This commit is contained in:
parent
908200869e
commit
1f522c31a7
1 changed files with 1 additions and 2 deletions
|
|
@ -1568,9 +1568,8 @@ sub new {
|
|||
}
|
||||
|
||||
if (defined $properties) {
|
||||
my $object = $class->instantiate;
|
||||
my $object = $class->instantiate($properties);
|
||||
$object->{_session} = $session;
|
||||
$object->{_properties} = $properties;
|
||||
foreach my $property ($object->getProperties) {
|
||||
my $definition = $object->getProperty($property);
|
||||
if ($definition->{serialize} && $object->{_properties}->{$property} ne '') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue