diff --git a/src/applications/diffusion/controller/DiffusionBrowseController.php b/src/applications/diffusion/controller/DiffusionBrowseController.php index 2d0ea7770b..3ae076a5d0 100644 --- a/src/applications/diffusion/controller/DiffusionBrowseController.php +++ b/src/applications/diffusion/controller/DiffusionBrowseController.php @@ -684,7 +684,7 @@ final class DiffusionBrowseController extends DiffusionController { } else { require_celerity_resource('syntax-highlighting-css'); - if (!$can_highlight) { + if ($can_highlight) { $highlighted = PhabricatorSyntaxHighlighter::highlightWithFilename( $path, $file_corpus);