Second Pull Request - Project Course (ThreadBoard)

Param `$total_thread` is passed to this function.
No need to declare and retrieve it again po in this line. :smile: