Elgg/Elgg — pull request #501 by lucianomlima (2013-01-30 02:44:43+00:00)
Title: Check if the $response_format is a valid viewtype

Fixes a problem when the $response_format is not a valid viewtype, using xml as default.
If uses for example jsonp, show a blank page.

@lucianomlima