Skip to content

Commit

Permalink
Fix bug: allow clearing of address.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Sep 12, 2017
1 parent c3230af commit b3db550
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ protected function modifyPublisher()
$imprint = null;
}
$address = $this->params()->fromPost('address');
if (empty($address)) {
$address = null;
}
$fields = array(
'Imprint_ID' => $imprint, 'Address_ID' => $address
);
Expand Down

0 comments on commit b3db550

Please sign in to comment.