mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
The method detect_plugin_component() returns false or string. The normalize_component() expects strings only. Passing false to it (typically when the plugin does not declare its component) caused the PHP warning. Credit goes to Ankit Agarwal for spotting this during testing.