In a heavy bottom pan, saute the onion and garlic until cooked. Add the curry powder and herbs and cook for 1 minute. Add the potato and flaked cod fish to the pan and mix together. Season with salt and pepper. Add enough cream to make the mixture workable. On a floured surface, shape the fish cakes and fry in shallow oil on each side for 5 to 6 minutes over a medium heat.