empty string is not the same as 0

If $this->value was (string)"" and $value was (int) 0, then both options ("" and 0) was set as selected.
Merge pull request #570 from DarkSide666/patch-10

empty string is not the same as 0 (for 4.2.x)