Fixes a PHP notice when notification block is empty