Update class-security.php

Fix some notice