3ilogiclms / moodle-block_learning_plan

This plugin serves as a database and plan for all learning activities in the organziation, where such activities are organized for a more structured learning program.
8 stars 12 forks source link

Failure to display error messages when information missing on Add Training page #12

Closed michael-milette closed 8 years ago

michael-milette commented 8 years ago

DESCRIPTION

Two Notice messages appear when submitting the Add Training form if required information is missing. Note that, instead of user error message appearing, the word "Array" is displayed instead.

image

ENVIRONMENT

Moodle 2.7.11+ and Learning Plan version 2014082003.

Let me know if you require any additional information.

Best regards,

Michael

michael-milette commented 8 years ago

The same error also appears when adding a learning plan if the learning plan field is empty and you click the Save Changes button:

image

Notice: Array to string conversion in /var/www/moodle/lib/pear/HTML/QuickForm/Renderer/Default.php on line 251

michael-milette commented 8 years ago

Thank you! All of these issues have been addressed in version 2014082003 that I just downloaded from GitHub.