diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index a14b58ee2..d0e4a13ad 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -8,6 +8,7 @@ - fixed #11254: RTF files are streamed with the wrong content-type - fixed #10932: code showing - fixed #11265: typo i18n + - fixed #11263: CleanLoginHistory can cause workflow errors 7.8.5 - added the EMS submission subsystem diff --git a/lib/WebGUI/Workflow/Activity/CleanLoginHistory.pm b/lib/WebGUI/Workflow/Activity/CleanLoginHistory.pm index 79eeafba4..87aaef028 100644 --- a/lib/WebGUI/Workflow/Activity/CleanLoginHistory.pm +++ b/lib/WebGUI/Workflow/Activity/CleanLoginHistory.pm @@ -115,7 +115,7 @@ sub execute { # Stop if there are no records preceding ageToDelete next USERLOOP unless @deleteTimes; - my $inTimes = WebGUI::SQL::quoteAndJoin( \@deleteTimes ); + my $inTimes = $db->quoteAndJoin( \@deleteTimes ); $db->write( "DELETE FROM userLoginLog WHERE userId = ? AND timeStamp IN ($inTimes)", [$userId] ); } ## end while ( my (@userIdData) ... } ## end else [ if ( not $self->get("retainLastAlways"...