[*] MO : mondial relay

fix issues from Prestashop's recommandations
$params seems to be not defined. If your script must return json but a notice is thrown, your ajax call will be broken.