Fixes PHP Notice for undefined variable