It was planned. They gave Boehner 220 of the 218 votes he needed. After the first roll, Boehner hadn't reached 218 so they went through the list again. The Republicans who were mute the first time around got him up to 220 and then the last guy simply voted 'present.'
A message to Boehner to remind him how weak he is.