elgg_format_attributes() does not support value = ''
|Reported by:||cash||Owned by:|
As an example, this breaks the advanced plugin sorting because all plugins = "" in the select. What happens is that the "" is dropped as the value do the string "All plugins" is passed as the category. This results in an empty page.
The issue is the call to is_not_null() returns false on "".
Evan wrote this and he is probably more aware of why is_not_null() was chosen. I tried switching it to !== null but that caused problems because false is passed for parameters like selected. Making it !== false && !== null seems to work for me so far.