From 9e3ce5c0a416c17f4c862b8843002e59594e174c Mon Sep 17 00:00:00 2001 From: Miroslav Horvatov <52826419+Kimleta@users.noreply.github.com> Date: Tue, 9 May 2023 14:34:10 +0200 Subject: [PATCH] Minor Bug Fix --- .gitignore | 1 + src/Hooks/ContentElementsAutowrap.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2b2ecee..18a3e0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea/ vendor/ sftp-config.json +.vscode/ftp-sync.json diff --git a/src/Hooks/ContentElementsAutowrap.php b/src/Hooks/ContentElementsAutowrap.php index f31bb7c..16c3687 100644 --- a/src/Hooks/ContentElementsAutowrap.php +++ b/src/Hooks/ContentElementsAutowrap.php @@ -79,7 +79,7 @@ public function getContentElement($objRow, $strBuffer, $objElement) if (in_array($objAliasElement->type, $this->arrElementTypesToAutoWrap)) { - $blnWrapperStart = $this->wrapperStart($objElement); + $blnWrapperStart = $this->wrapperStart($objAliasElement); if ($blnWrapperStart) { $strBuffer = sprintf($this->wrapperStart, $objAliasElement->type) . $strBuffer;