1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42: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 { } else {
require_celerity_resource('syntax-highlighting-css'); require_celerity_resource('syntax-highlighting-css');
if (!$can_highlight) { if ($can_highlight) {
$highlighted = PhabricatorSyntaxHighlighter::highlightWithFilename( $highlighted = PhabricatorSyntaxHighlighter::highlightWithFilename(
$path, $path,
$file_corpus); $file_corpus);