mirror of
https://github.com/moodle/moodle.git
synced 2025-04-30 05:18:55 +02:00
The default value is an empty string (""), which in PHP evaluates to 0 when cast to a string in our DML layer. The fix is to forcibly make it null which is not cast to string in DML for optional strings.