Fastfood chain McDonald's has been told not to repeat an approach to advertising its fries, after a magazine advert was judged by the UK's advertising watchdog to be misleading.