Fixing PHP warning.