Update Flashmessages.php

array_unique() wants SORT_REGULAR to prevent array-to-string warnings in some PHP configs.