Correctly processes BBCodes with all optional parameters Previously, if a BBCode's parameters were all optional, parse_bbc() would nevertheless refuse to process it unless at least one parameter was specified in the post text. With this change, parse_bbc() will accept a BBCode with no parameters specified if all of its parameters are optional.
Correctly processes BBCodes with all optional parameters
Previously, if a BBCode's parameters were all optional, parse_bbc() would nevertheless refuse to process it unless at least one parameter was specified in the post text. With this change, parse_bbc() will accept a BBCode with no parameters specified if all of its parameters are optional.

Signed-off-by: Jon Stovell <5fe09b7d9f00fd95250ae2a73993b352b084988d@gmail.com>

StealthWombat/SMF2.1-more-forkery,StealthWombat/SMF2.1-more-forkery