Commit f378b347 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1431659: Allowing import of annotation leap2a



When creating a new user in admin -> create user screen

behatnotneeded

Change-Id: Ie2fdffa0da9e087f38ab9a458850625872fbf534
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent aec9fbd0
......@@ -459,8 +459,7 @@ class LeapImportAnnotation extends LeapImportArtefactPlugin {
return;
}
$annotation_entry = $importer->get_entry_by_id($entry->entryid);
$view_entry_request = self::get_referent_entryid($annotation_entry, $importer);
$view_entry_request = self::get_referent_entryid($entry, $importer);
if ($viewid = $importer->get_viewid_imported_by_entryid($view_entry_request)) {
$annotation->set('view', $viewid);
$annotation->commit();
......
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