Make sure that lastUpdated in updated in the database as well as in the object.
This commit is contained in:
parent
92f4a5f1af
commit
4a8c63ec0a
1 changed files with 1 additions and 1 deletions
|
|
@ -976,7 +976,7 @@ sub update {
|
|||
}
|
||||
|
||||
# set last updated
|
||||
$data->{lastUpdated} ||= WebGUI::DateTime->new($session, time())->toDatabase;
|
||||
$dbData->{lastUpdated} = $data->{lastUpdated} ||= WebGUI::DateTime->new($session, time())->toDatabase;
|
||||
|
||||
# update memory
|
||||
my $refId = id $self;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue