Are privet trees toxic to dogs?

It can be deadly to some but fine to other breeds