fix: typo fixed for the previous commit

- apparently can't spell distribution
pull/2985/head
iglocska 2018-02-23 13:28:51 +01:00
parent a35263c305
commit b7a53559d9
1 changed files with 1 additions and 1 deletions

View File

@ -2693,7 +2693,7 @@ class Attribute extends AppModel {
$attribute['value'] = $attribute['value'] . '|' . $result['md5'];
}
if (!isset($attribute['distribution'])) {
$attribute['distribition'] = $defaultDistribution;
$attribute['distribution'] = $defaultDistribution;
}
unset($attribute['Attachment']);
$this->create();