-
Bug
-
Resolution: Fixed
-
Minor
-
3.3.2
-
MOODLE_33_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-60646-master -
Testing:
- Debug Developer must be ON
- Login to site and go to Dashboard ►Preferences ►Portfolios ►Configure (/user/portfolio.php)
- You see:
Warning: Missing argument 2 for core_renderer::pix_icon(), called in /user/portfolio.php on line 122 and defined in /lib/outputrenderers.php on line 2072
Notice: Undefined variable: alt in /lib/outputrenderers.php on line 2073
Line 122 in /user/portfolio.php must be like this:
{{$OUTPUT->pix_icon('t/' . (($visible) ? 'hide' : 'show'), get_string($visible ? 'hide' : 'show')) . '</a><br />' }}
Moodle 3.3.2+ (Build: 20171027)