Fix E_NOTICE when viewing entry details page when form has no PDF configuration