﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	difficulty
2779	Widgets: get_widget_types() unexpected behavior	coldtrick		"in engine/lib/widgets the function get_widget_types() unsets $CONFIG values.

when you ask get_widget_types() more than once in a page run  for different contexts this can result is widgets disappearing.

Use case:
I have registered a widget just for ""profile"" (see add_widget_type()) and in one page run I ask for the widgets on ""dashboard"" and then ""profile"" my widget will not show up. If however I ask the widgets for ""profile"" and then ""dashboard"" it will.

Solution:
get_widget_types() should NOT unset $CONFIG but just build a result set and return this."	Defect	closed	normal	Elgg 1.7.7	Core	1.7	minor	fixed	widgets, widget	brett@…	easy
