Luracast/Restler — pull request #312 by justericgg (2014-06-17 15:08:54+00:00)
Title: modify validator condition of string empty and not equal to 0

When $input is a empty string like $input = "", the condition of ($input != 0) will return false. So I modified the operator from != to !== . Also, when $input is equal to "0", (empty($input)) will return true, modified this to $input == "" .
Hope is will help this project to improve.