Fix bug in late-login user stuff.

This commit is contained in:
Lance Edgar 2015-08-17 16:55:10 -05:00
parent a7bcf71642
commit 75c9f9ebc0

View file

@ -699,7 +699,7 @@ class FileBatchCrud(BatchCrud):
# For new batches, assign current user as creator, save file etc.
if self.creating:
with Session.no_autoflush:
batch.created_by = self.request.user or self.latelogin_user()
batch.created_by = self.request.user or self.late_login_user()
# Expunge batch from session to prevent it from being flushed
# during init. This is done as a convenience to views which