]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Post.php
Rename social.disable_cw pconfig to system.disable_cw
[friendica.git] / src / Object / Post.php
index f47efbecd24ac4ffbe4f5da53600f97f83b2b25a..86e1414678e7bb7e76b9675139618a08d893bb0a 100644 (file)
@@ -317,7 +317,7 @@ class Post extends BaseObject
                $text_e       = strip_tags($body);
                $name_e       = $profile_name;
 
-               if (!empty($item['content-warning']) && PConfig::get(local_user(), 'social', 'disable_cw', false)) {
+               if (!empty($item['content-warning']) && PConfig::get(local_user(), 'system', 'disable_cw', false)) {
                        $title_e = ucfirst($item['content-warning']);
                } else {
                        $title_e = $item['title'];