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;