Skip to content

Commit

Permalink
The init parameter "0" is valid, as in the case of calling the SoftLa…
Browse files Browse the repository at this point in the history
…yer_Product_Package service. Check for literal null instead of also ignoring "0" in the init parameter.
  • Loading branch information
jgulledge committed Mar 23, 2011
1 parent f5434da commit 952ad27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoftLayer/SoapClient.class.php
Expand Up @@ -265,7 +265,7 @@ public static function getClient($serviceName, $id = null, $username = null, $ap
$soapClient->setAuthentication(self::API_USER, self::API_KEY);
}

if ($id != null) {
if ($id !== null) {
$soapClient->setInitParameter($id);
}

Expand Down

0 comments on commit 952ad27

Please sign in to comment.