diff --git a/Classes/Controller/Ajax/UploadController.php b/Classes/Controller/Ajax/UploadController.php index 424f0fe43a0fe013058c88333b54ecdbeaea8edc..72156edbacef6999fd9d52919b90647e01e874fe 100644 --- a/Classes/Controller/Ajax/UploadController.php +++ b/Classes/Controller/Ajax/UploadController.php @@ -116,7 +116,7 @@ class UploadController extends AbstractAjaxController { ); // if job application folder is not existing, create it if (!$storage->hasFolder(self::JOB_APPLICATION_FOLDER)) { - $folder = $storage->createFolder(self::JOB_APPLICATION_FOLDER); + $folder = $storage->createFolder(self::JOB_APPLICATION_FOLDER); } else { $folder = $storage->getFolder(self::JOB_APPLICATION_FOLDER); } diff --git a/Classes/Controller/JoblistController.php b/Classes/Controller/JoblistController.php index a16af657e40bc9c12dfa5b95f103aaefb598322d..5732f175c2680c7185d439551693c75069af9478 100644 --- a/Classes/Controller/JoblistController.php +++ b/Classes/Controller/JoblistController.php @@ -423,7 +423,7 @@ class JoblistController extends ActionController { . '-' . $applicationData->getLastName(); $storage = $resourceFactory->getStorageObject(1); $applicationFilePath = Environment::getPublicPath() . '/' . $storage->getConfiguration( - )['basePath'] . 'JobApplication/' . $folderName . + )['basePath'] . 'JobApplication/' . $folderName . '/' . $newName . '.csv'; $this->writeApplicationFile($applicationData, $applicationFilePath); } diff --git a/composer.json b/composer.json index 007c42c5e4135f927e28149dea72a15227163da6..8985e94fe383d5aa8633accc5428a3a8481dabcb 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "license": [ "GPL-2.0-or-later" ], - "version": "5.2.5", + "version": "5.2.6", "support": { "issues": "https://gitlab.sgalinski.de/typo3/sg_jobs" }, diff --git a/ext_emconf.php b/ext_emconf.php index e83f20bb626964a46392672024c4e70827417c0a..ce5c6b2e20aedc1f777faaa9f4fb00cf8f925745 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -4,7 +4,7 @@ $EM_CONF['sg_jobs'] = [ 'title' => 'Jobs', 'description' => 'Manage and display your Job offers.', 'category' => 'plugin', - 'version' => '5.2.5', + 'version' => '5.2.6', 'state' => 'stable', 'uploadfolder' => FALSE, 'createDirs' => '',