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

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: default avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit a407b379)
parent 5997c4a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());
            }
        }
    }