theXman
theXman

Reputation: 65

How to access variable with dot in name

I'm having trouble accessing an array key in Fluid. The array key name is "common.title". How can I access the value? Escaping the dot is not working. I know it's not good to have a dot in a key name, but the values come from a different source. See the attached image for more information.

Array

Upvotes: 2

Views: 240

Answers (1)

Thomas Löffler
Thomas Löffler

Reputation: 6144

Did you try with escaping the . by using common\.title?

Upvotes: 1

Related Questions