Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1ff445

Browse files
committed
[#7981] revert some changes
1 parent7fb0887 commitf1ff445

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎controller/upload_file.rst‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,8 @@ controller.
449449
return;
450450
}
451451

452-
$this->fileName = $entity->getBrochure()
453-
if ($this->fileName) {
454-
$entity->setBrochure(new File($this->uploader->getTargetDir().'/'.$this->fileName));
452+
if ($fileName = $entity->getBrochure()) {
453+
$entity->setBrochure(new File($this->uploader->getTargetDir().'/'.$fileName));
455454
}
456455
}
457456
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp