Common Moodle programming mistakes
CCLE and Moodle
Development
Feel free to add to this list.Error handling of get_records() and its variants (e.g. get_records_sql())A common usage of these functions is like this:$records = get_records() or my_error_handler();...The problem is, if the query is executed successfully but ma...