[validator.tpl] test variable exist to avoid javascript crash
[validator.tpl] test variable exist to avoid javascript crash

centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon