Skip to content

Commit 1f791a4

Browse files
Return the complete category image path
1 parent 462127f commit 1f791a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/Import/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ protected function uploadMediaFiles($fileName)
12981298
{
12991299
try {
13001300
$res = $this->getUploader()->move($fileName);
1301-
return $res['file'];
1301+
return '/media/catalog/category' . $res['file'];
13021302
} catch (\Exception $e) {
13031303
return '';
13041304
}

0 commit comments

Comments
 (0)