Fixing mediawrapper formfield for Joomla 3.2 (can't assign $params to $this since not declared first)