Commit a407b379 authored by Robert Lyon's avatar Robert Lyon

Bug 1681291: Missing params for LeapImportComment::setup_relationships()

When the bug 1643365 was fixed we missed a place where the
setup_relationships() was called. We need to add the extra required
parameters to the call

behatnotneeded

Change-Id: I093937073598d4ff39abfa10aa9725319a40ec55
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent e965d5eb
......@@ -237,7 +237,7 @@ class LeapImportComment extends LeapImportArtefactPlugin {
if ($entry_requests = get_records_select_array('import_entry_requests', 'importid = ? AND entrytype = ?', array($importer->get('importertransport')->get('importid'), 'comment'))) {
foreach ($entry_requests as $entry_request) {
$entry = $importer->get_entry_by_id($entry_request->entryid);
self::setup_relationships($entry, $importer);
self::setup_relationships($entry, $importer, null, array());
}
}
}
......
Markdown is supported
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