Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the function receives an invalid user ID, it will issue an Undefined offset notice, as it does not check for actual existence of the ID in the users' cache after calling user_cache_array_rows(). PHPDoc does state that a valid user ID is expected, but since the function includes error handling code, it makes sense to account for this case, unlikely as it may be. Fixes #25850
- Loading branch information
Showing
1 changed file
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters