X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FPost%2FCategory.php;h=2c35a40ad4b8756adc990ecfe01bce85982ed371;hb=21f172c585aff8c606774a05fde1548ddff1667d;hp=45afd81735cd5115511f954be05f47c53061ab4e;hpb=215c6ecc14b799dc5359fd933275d9307ccd35ed;p=friendica.git diff --git a/src/Model/Post/Category.php b/src/Model/Post/Category.php index 45afd81735..2c35a40ad4 100644 --- a/src/Model/Post/Category.php +++ b/src/Model/Post/Category.php @@ -1,6 +1,6 @@ $uri_id, 'uid' => $uid]); + } + /** * Generates an array of files or categories of a given uri-id * @@ -183,7 +188,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); } } }