Commit 5608412c authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Removed warning

parent dc0dfc5b
...@@ -42,7 +42,7 @@ function form_render_userlist($element, Form $form) { ...@@ -42,7 +42,7 @@ function form_render_userlist($element, Form $form) {
$value = $form->get_value($element); $value = $form->get_value($element);
if (!is_array($value) && is_array($element['defaultvalue'])) { if (!is_array($value) && isset($element['defaultvalue']) && is_array($element['defaultvalue'])) {
$value = $element['defaultvalue']; $value = $element['defaultvalue'];
} }
......
Supports Markdown
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