This function deals with the poll ID associated to a topic. It allows to retrieve or update the poll ID associated with this topic ID.
If $pollID is not passed, the current poll ID of the topic, if any, is returned. If $pollID is passed, the topic is updated to point to the new poll.
Located at sources/subs/Poll.subs.php
||the ID of the topic|
||= null the ID of the poll, if any. If null is passed, it retrieves the current ID.|
Return value summary