mdavis1982/Vebra-PHP-API-Wrapper — pull request #2 by mike182uk (2012-12-11 11:19:13+00:00)
Title: Incorrect boolean casting

`API::normalise` was casting booleans incorrectly.

Casting a string to a bool will always cast to TRUE as it is not a falsy value (even if the text of the string is the word "false")

http://php.net/manual/en/language.types.boolean.php#language.types.boolean.casting

Have changed to explicitly cast to string and check if string is equal to `"true"`