Commit 1cb57f8d authored by Robert Lyon's avatar Robert Lyon
Browse files

Fix for updating profile settings breaking multiple blogs (Bug #1166879)

The greyed out field needed to be readonly rather than disabled
as the value was not being passed on form submit

Change-Id: Ifdc6843f7c688b4a306da8a321b962f22ccd6eb9
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 8c020560
......@@ -118,7 +118,7 @@ $elements = array_merge($elements, general_account_prefs_form_elements($prefs));
$blogcount = count_records('artefact', 'artefacttype', 'blog', 'owner', $USER->get('id')) ;
if ($blogcount != 1 && $prefs->multipleblogs == 1) {
$elements['multipleblogs']['disabled'] = true;
$elements['multipleblogs']['readonly'] = true;
$elements['submit'] = array(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment