Replaced JDatabase::getEscaped with JDatabase::escape

JDatabase::getEscaped always returns an empty string in Joomla3