Having a garden at school might influence whether vegetables are available to children at home, a forthcoming study finds.