Merge branch 'MDL-44436-26' of git://github.com/FMCorz/moodle into MOODLE_26_STABLE
This commit is contained in:
+1
-1
@@ -5242,7 +5242,7 @@ abstract class context extends stdClass implements IteratorAggregate {
|
||||
* @param stdClass $record
|
||||
*/
|
||||
protected function __construct(stdClass $record) {
|
||||
$this->_id = $record->id;
|
||||
$this->_id = (int)$record->id;
|
||||
$this->_contextlevel = (int)$record->contextlevel;
|
||||
$this->_instanceid = $record->instanceid;
|
||||
$this->_path = $record->path;
|
||||
|
||||
Reference in New Issue
Block a user