fixed bug: string is detected as number

How is this different from `!is_string($param)`? If it wasn't a string, it will always be false, if it was a string, it will always be true...