Fix PHP error with Ajax request

Do not know why there is an error but an isset test is mandatory to
avoid error !