Small refactoring on Boards.subs.php