Skip to content

Commit

Permalink
Remove trailing spaces in sql query
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <[email protected]>
  • Loading branch information
Sieg committed Nov 6, 2023
1 parent f6b3a25 commit 1d201e2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Media/Repository/MediaRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ public function addMedia(MediaInterface $exampleMedia): void
{
$this->connection->executeQuery(
"insert into ddmedia SET
OXID = :OXID,
OXSHOPID = :OXSHOPID,
DDFILENAME = :DDFILENAME,
DDFILESIZE = :DDFILESIZE,
DDFILETYPE = :DDFILETYPE,
DDTHUMB = :DDTHUMB,
DDIMAGESIZE = :DDIMAGESIZE,
OXID = :OXID,
OXSHOPID = :OXSHOPID,
DDFILENAME = :DDFILENAME,
DDFILESIZE = :DDFILESIZE,
DDFILETYPE = :DDFILETYPE,
DDTHUMB = :DDTHUMB,
DDIMAGESIZE = :DDIMAGESIZE,
DDFOLDERID = :DDFOLDERID",
[
'OXSHOPID' => $this->basicContext->getCurrentShopId(),
Expand Down

0 comments on commit 1d201e2

Please sign in to comment.