Fix PHP notice when approval in ACP