Skip to content

Commit f1ff445

Browse files
committed
[#7981] revert some changes
1 parent 7fb0887 commit f1ff445

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy