Skip to content
Snippets Groups Projects

Update commerce_gdpr.module

1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -199,6 +199,10 @@ function commerce_gdpr_anonymize_value($value, array $params = array()) {
case 'clear':
if (is_numeric($value)) {
$output = 0;
} elseif (is_array($value)) {
$output = array();
} elseif (is_object($output)) {
$output = new stdClass();
}
else {
$output = '';
Loading