diff --git a/RedactorModule.php b/RedactorModule.php index 1cf6356..7804291 100644 --- a/RedactorModule.php +++ b/RedactorModule.php @@ -46,7 +46,7 @@ public function getSubPath() if(!empty($ownerPath)) $ownerPath = $ownerPath; - return $ownerPath == $this->subFolderName ? $ownerPath ? $this->subFolderName.'_'.$ownerPath; + return $ownerPath == $this->subFolderName ? $ownerPath : $this->subFolderName.'_'.$ownerPath; } /**