MDL-59629 mod_block: Set the default region in add_region
authorPeter <peter@moodle.com>
Thu, 13 Dec 2018 02:14:43 +0000 (10:14 +0800)
committerPeter <peter@moodle.com>
Fri, 14 Dec 2018 02:29:10 +0000 (10:29 +0800)
commit917a0e282cf5910890157b1bab4a7a85aff36bcd
tree55365f4453f301f3e404fde0c6bacb3d37e70609
parent33a388eff737c049786ee42d7430db549568471c
MDL-59629 mod_block: Set the default region in add_region

Check and update default region in add_region if none set.
lib/blocklib.php