]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
Rename social.disable_cw pconfig to system.disable_cw
[friendica.git] / include / text.php
index 8a6fd003129456c944117c42a9c9799c09458196..6522ada1c39b2d837599a57ae493d532df216e70 100644 (file)
@@ -1271,7 +1271,7 @@ function prepare_body(array &$item, $attach = false, $is_preview = false)
        // Compile eventual content filter reasons
        $filter_reasons = [];
        if (!$is_preview && !($item['self'] && local_user() == $item['uid'])) {
-               if (!empty($item['content-warning']) && (!local_user() || !PConfig::get(local_user(), 'social', 'disable_cw', false))) {
+               if (!empty($item['content-warning']) && (!local_user() || !PConfig::get(local_user(), 'system', 'disable_cw', false))) {
                        $filter_reasons[] = L10n::t('Content warning: %s', $item['content-warning']);
                }