Changeset 1523 for trunk/LATMOS-Accounts/lib/LATMOS
- Timestamp:
- 12/22/15 16:35:18 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Employment.pm
r1522 r1523 194 194 if ($expire != $nextexpire) { 195 195 $user->set_fields(expire => $endemploy); 196 $user->ReportChange('Update', 'Expire update to %s to match employment', $endemploy); 196 197 } 197 198 … … 215 216 216 217 if (keys %attrsets) { 217 return $user->set_fields(%attrsets); 218 if (my $res = $user->set_fields(%attrsets)) { 219 $user->ReportChange('Update', 'Attr %s updated to match Employment %s', join(', ', sort keys %attrsets), $self->id); 220 return $res; 221 } 218 222 } else { 219 223 return 1;
Note: See TracChangeset
for help on using the changeset viewer.