test #166: Fix notice in Joomla 2.5