Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-44436 context: Context IDs are forced to be int
The method context::insert_context_record() sets the context::$id to an int, while when we create an instance, the $id is often read from a DB $record object, and is a string. The ID should always be an int.
- Loading branch information