From 1d201e2dacd798ca3cc01bbe7a556d56158cbb06 Mon Sep 17 00:00:00 2001 From: Anton Fedurtsya Date: Mon, 6 Nov 2023 19:31:25 +0200 Subject: [PATCH] Remove trailing spaces in sql query Signed-off-by: Anton Fedurtsya --- src/Media/Repository/MediaRepository.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Media/Repository/MediaRepository.php b/src/Media/Repository/MediaRepository.php index 9236979..43638d9 100644 --- a/src/Media/Repository/MediaRepository.php +++ b/src/Media/Repository/MediaRepository.php @@ -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(),