-
Sub-task
-
Resolution: Fixed
-
Minor
-
4.0.5, 4.1.1
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MDL-76483-master -
The get_docs_url() function has a signature:
function get_docs_url($path = null) {
|
However, it does not handle the case where $path is null - the first thing it does is to use it as a string in a substr check, which doesn't really do so well with a null value - and will warn/notice from 8.1.
- will help resolve
-
MDL-76362 Avoid passing null to functions strictly requiring strings (PHP 8.1)
-
- Closed
-