Changeset 2266 for trunk/LATMOS-Accounts/lib/LATMOS/Accounts
- Timestamp:
- 06/19/19 12:05:43 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/objects.pm
r2265 r2266 399 399 return; 400 400 }; 401 } 402 403 my @parents = $obj->ParentObject; 404 405 foreach my $pobj (@parents) { 406 $pobj->PostSetAttribute; 401 407 } 402 408 … … 799 805 } 800 806 } 801 my $res = $self->set_fields(%data); 802 803 if (my $obj = $self->ParentObject) { 804 $res += $obj->PostSetAttribute; 807 my $res = $self->set_fields(%data); 808 809 if ($res) { 810 if (my $obj = $self->ParentObject) { 811 $res += $obj->PostSetAttribute; 812 } 805 813 } 806 814
Note: See TracChangeset
for help on using the changeset viewer.