Fixing PHP Warning.