Update thread_controller.php

done removing extra spaces