Fixes the incoming php notice.