Fix dgu_search_form.tpl.php by adding if not empty to undefined value.

and to the foreach statement. it was causing errors on the /forum section