MDL-37459 admin: Fix for error on updating a locked checkbox
MDL-37459 admin: Fix for error on updating a locked checkbox

Changed the way apply_admin_locked_flags gets the current value for the field.

The old way was plain wrong (looking at getValue from the quickform element).

dilawar/moodle