Answer:
By not leaving out the indefinite article "ein," he supposedly changed the meaning of the sentence from the intended "I am a citizen of Berlin" to "I am a Berliner" (a Berliner being a type of German pastry, similar to a jelly doughnut), amusing Germans throughout the city.
Explanation: