mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +02:00
Fixed code style.
This commit is contained in:
parent
2853e471c4
commit
d0b1024d80
212 changed files with 495 additions and 1005 deletions
|
@ -81,12 +81,11 @@ final class AttachmentDataTable implements DataTableTypeInterface
|
|||
'label' => '',
|
||||
'render' => function ($value, Attachment $context) {
|
||||
if ($context->isPicture()
|
||||
&& ! $context->isExternal()
|
||||
&& !$context->isExternal()
|
||||
&& $this->attachmentHelper->isFileExisting($context)) {
|
||||
|
||||
$title = htmlspecialchars($context->getName());
|
||||
if ($context->getFilename()) {
|
||||
$title .= ' (' . htmlspecialchars($context->getFilename()) . ')';
|
||||
$title .= ' ('.htmlspecialchars($context->getFilename()).')';
|
||||
}
|
||||
|
||||
return sprintf(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue