fix: Removed a small slice of stupidity

pull/2831/head
iglocska 2018-01-13 17:01:26 +01:00
parent 297802c2cb
commit 1a994043d6
1 changed files with 1 additions and 2 deletions

View File

@ -705,8 +705,7 @@ class ShadowAttributesController extends AppController {
} else {
// Read the attribute that we're about to edit
$this->ShadowAttribute->create();
$request['ShadowAttribute'] = $existingAttribute['Attribute'];
$this->request->data = $request;
$this->request->data['ShadowAttribute'] = $existingAttribute['Attribute'];
unset($this->request->data['ShadowAttribute']['id']);
}