fix: [decaying] typo 3

pull/5032/head
mokaddem 2019-09-12 11:43:43 +02:00
parent 377e748771
commit 09742c253f
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ class DecayingModel extends AppModel
if ($full) {
$decayingModel['DecayingModel']['attribute_types'] = $this->DecayingModelMapping->getAssociatedTypes($user, $decayingModel);
}
$decayingModel = $this->attachIsEditableByCurrentUser($this->Auth->user(), $decayingModel);
$decayingModel = $this->attachIsEditableByCurrentUser($user, $decayingModel);
return $decayingModel;
}