]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Post/Category.php
Use rawContent for Special Options to avoid a protected options() method
[friendica.git] / src / Model / Post / Category.php
index 45afd81735cd5115511f954be05f47c53061ab4e..9d2a359ba3b421d4d74be4f1eb93860620e16427 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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);
                        }
                }
        }