From aa8e410350185975d21306423ae6672fbb30f4b4 Mon Sep 17 00:00:00 2001 From: daverner Date: Tue, 2 Jun 2020 12:39:41 +0200 Subject: [PATCH] Fix if a filename is specified for import Signed-off-by: daverner --- Command/CreateOrUpdateContentTypeCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/CreateOrUpdateContentTypeCommand.php b/Command/CreateOrUpdateContentTypeCommand.php index 485908d..19956c0 100644 --- a/Command/CreateOrUpdateContentTypeCommand.php +++ b/Command/CreateOrUpdateContentTypeCommand.php @@ -71,7 +71,7 @@ protected function execute( InputInterface $input, OutputInterface $output ) if( isset( $fileName ) && $fileName != null ) { - $aFiles = array( $fileName ); + $aFiles = array( "$installationDirectory/$fileName" ); } foreach( $aFiles as $file )