Fixed an issue with the form helper where the value zero would not display #507

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@rmarscher
Contributor

See http://stackoverflow.com/questions/10819825/lithium-not-rendering-zero-0-in-form/10824838

I confirmed the issue. Basically has to do with assignment of falsy values and use of empty().

@nateabele
Member

Yeah, empty() is kind of a dick like that, thanks. Btw, could you push this against dev instead? It's all merged up and ready for more integrations!

@rmarscher
Contributor

Oh whoops! Must have forgot to switch the branches.

@rmarscher rmarscher closed this May 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment