Skip to content

Commit

Permalink
Merge pull request #2 from jeansebastienh/fix-notice
Browse files Browse the repository at this point in the history
fix : Notice: Undefined variable: nativeValue in XML/RPC2/Backend/Php/Va...
  • Loading branch information
cweiske committed May 7, 2013
2 parents 4be2d64 + 9567111 commit 2fabcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XML/RPC2/Backend/Php/Value/Struct.php
Expand Up @@ -67,7 +67,7 @@ class XML_RPC2_Backend_Php_Value_Struct extends XML_RPC2_Backend_Php_Value
protected function setNativeValue($value)
{
if (!is_array($value)) {
throw new XML_RPC2_InvalidTypeException(sprintf('Cannot create XML_RPC2_Backend_Php_Value_Struct from type \'%s\'.', gettype($nativeValue)));
throw new XML_RPC2_InvalidTypeException(sprintf('Cannot create XML_RPC2_Backend_Php_Value_Struct from type \'%s\'.', gettype($value)));
}
parent::setNativeValue($value);
}
Expand Down

0 comments on commit 2fabcaa

Please sign in to comment.