kalimatas / php-liquid

A PHP port of Ruby's Liquid Templates
http://www.delacap.com/artikel/Liquid-Templates/
MIT License
168 stars 58 forks source link

Incorrect assignment of String to variable instead of Boolean #193

Open mouradkaroudi opened 1 year ago

mouradkaroudi commented 1 year ago

I expect the following statement {% assign cond = name == 'Mourad' %} to return True or False (name == 'Mourad'), but instead, it assigns the string Mourad to variable cond. // cond = 'Mourad'