Fixing Invoice Phone Attribute

- Also updated the Update Invoice Sample
This commit is contained in:
japatel
2014-11-20 17:00:19 -06:00
parent b5809666b4
commit 24e0609e5b
15 changed files with 460 additions and 265 deletions

View File

@@ -87,7 +87,11 @@ class PPModel
public function __set($key, $value)
{
ModelAccessorValidator::validate($this, $this->convertToCamelCase($key));
$this->_propMap[$key] = $value;
if ($value == null) {
$this->__unset($key);
} else {
$this->_propMap[$key] = $value;
}
}
/**