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
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