Can you take flowers in to hospitals?

Chloe

I was buying flowers today for my grandad in hospital and some woman asked what the flowers was for and when I told her she said that its illegal now to take flowers to hospitals?? I bought them anyway but is it true?