1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00

(stable) Fix a flipped higlight vs no-highlight condition

Ref T11257.

Auditors: chad
This commit is contained in:
epriestley 2016-07-02 05:22:55 -07:00
parent fd33fbbfae
commit 58375fa9e6

View file

@ -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);