Commit 54b9b09f authored by John Chilton's avatar John Chilton
Browse files

Merge remote-tracking branch 'upstream/release_16.10' into HEAD

parents c7b09f87 4a281422
......@@ -250,7 +250,7 @@ class HistoryContentsController( BaseAPIController, UsesLibraryMixin, UsesLibrar
# copy from library dataset
hda = None
if source == 'library':
ld = self.get_library_dataset( trans, content, check_ownership=False, check_accessible=False )
ld = self.get_library_dataset( trans, content )
# TODO: why would get_library_dataset NOT return a library dataset?
if type( ld ) is not trans.app.model.LibraryDataset:
raise exceptions.RequestParameterInvalidException(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment