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:
parent
fd33fbbfae
commit
58375fa9e6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue