Replace loadResultArray with loadColumn for Joomla 2.5+