Code review - bug find

You owe me beer in bug bounty program ; )