Update class-security.php

Fix some notice
Merge pull request #20 from asadowski10/patch-2

Update class-security.php