Cast id to int.

This commit is contained in:
Richard Henkenjohann committed 2019-07-05 16:11:36 +02:00
1 parent b2c1afa780
commit 7854719e60
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ final class PasswordRegexpListener
return true;
}
} elseif ('FE' === TL_MODE && FE_USER_LOGGED_IN) {
$userId = FrontendUser::getInstance()->id;
$userId = (int) FrontendUser::getInstance()->id;
$userEntity = FrontendUser::class;
} else {
return true;