Fixed Typo In Security.php

`$character` is undefined. Did you mean `$char`?
Please remove the empty line here.