Skip to content
Snippets Groups Projects
Commit ee27fdbd authored by uhensler's avatar uhensler
Browse files

OO-3170: NPE when clicking on the table config button in license admin

parent bdd08b73
No related branches found
No related tags found
No related merge requests found
......@@ -356,8 +356,11 @@ public class LicenseAdminConfigController extends FormBasicController {
doSetLicensorCreator(source, singleSelection);
}
} else if (source instanceof FormLink) {
LicenseHandler handler = (LicenseHandler) source.getUserObject();
doEditLicensorConstant(ureq, handler);
Object userObject = source.getUserObject();
if (userObject instanceof LicenseHandler) {
LicenseHandler handler = (LicenseHandler) userObject;
doEditLicensorConstant(ureq, handler);
}
}
super.formInnerEvent(ureq, source, event);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment