diff --git a/src/Model/Post/Category.php b/src/Model/Post/Category.php index c2912fa73f..ecd401b453 100644 --- a/src/Model/Post/Category.php +++ b/src/Model/Post/Category.php @@ -183,7 +183,7 @@ class Category if (preg_match_all("/\<(.*?)\>/ism", $files, $result)) { foreach ($result[1] as $file) { - self::storeFileByURIId($uri_id, $uid, self::FILE, $file); + self::storeFileByURIId($uri_id, $uid, self::CATEGORY, $file); } } }