X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FPost%2FCategory.php;h=2c35a40ad4b8756adc990ecfe01bce85982ed371;hb=21f172c585aff8c606774a05fde1548ddff1667d;hp=c2912fa73fa7a890351003deff36d18b463ab29e;hpb=befc2af5043a3afde251721c0d27df695db1bb7e;p=friendica.git diff --git a/src/Model/Post/Category.php b/src/Model/Post/Category.php index c2912fa73f..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); } } }