No, that line of code does not need braces, an if statement that only has one line for the action can be coded on one line without the braces.
the error you re referring to occurs if there is out put to the page before the session start function is used.
See the following [page for details on the cause and fix for this error:
148/