ILIAS icon indicating copy to clipboard operation
ILIAS copied to clipboard

bugfix: the Language to be set MUST not be NULL

Open utesche opened this issue 2 years ago • 1 comments

otherwise a TypeError Exception is raised:

TypeError thrown with message "Argument 1 passed to ilObjUser::setLanguage() must be of the type string, null given, called in /.../Services/User/classes/class.ilUserImportParser.php on line 467"

Stacktrace: #16 TypeError in /.../Services/User/classes/class.ilObjUser.php:1479 #15 ilObjUser:setLanguage in /.../Services/User/classes/class.ilUserImportParser.php:467 #14 ilUserImportParser:importBeginTag in /.../Services/User/classes/class.ilUserImportParser.php:364 #13 ilUserImportParser:handlerBeginTag in [internal]:0

utesche avatar Jul 18 '22 14:07 utesche

@alex40724 I assigned this to you because you did the PHP 8 refactoring according to https://docu.ilias.de/goto_docu_dcl_10296_209.html

mjansenDatabay avatar Jul 18 '22 18:07 mjansenDatabay

Thanks for the PR!

alex40724 avatar Nov 07 '22 15:11 alex40724