Heat the oil in a non-stick frying pan over a medium-high heat and fry the onion and garlic for a couple of mins to soften. Add the rice and spices, stir briefly, then pour in the bouillon and add the pepper. Cover the pan, reduce the heat and leave to simmer for 20 mins. Stir in the courgette, cover and cook for 10 mins more.