Skip to content
Permalink
Browse files

Make sure that lastUpdated in updated in the database as well as in t…

…he object.
  • Loading branch information...
perlDreamer committed Mar 6, 2012
1 parent 92f4a5f commit 4a8c63ec0a449b02e6933066668f990d0fa37dfd
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/WebGUI/Crud.pm
@@ -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;

0 comments on commit 4a8c63e

Please sign in to comment.
You can’t perform that action at this time.