Handling empty params #7

Open
hamecoded opened this Issue Dec 26, 2011 · 0 comments

Comments

Projects
None yet
1 participant

line 181 tests "if(text)" and incase no params are passed the text resolves to "null" as string, this inturn will enter the condition and an exception will be thrown.

I've replaced this line with:
if(text && text != "null")
This puts me back on track

Oded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment