Skip to content

Commit

Permalink
MDL-79277 tool_mobile: Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelDeMartin committed Sep 6, 2023
1 parent 3fddb90 commit e3bf7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/mobile/classes/api.php
Expand Up @@ -119,7 +119,7 @@ public static function get_plugins_supporting_mobile() {
foreach ($langs as $langid => $langname) {
foreach ($addoninfo['lang'] as $stringinfo) {
$lang[$langid][$stringinfo[0]] =
$stringmanager->get_string($stringinfo[0], $stringinfo[1], null, $langid);
$stringmanager->get_string($stringinfo[0], $stringinfo[1] ?? null, null, $langid);
}
}
}
Expand Down

0 comments on commit e3bf7ce

Please sign in to comment.