Page MenuHomePhabricator

D7581.id17113.diff
No OneTemporary

D7581.id17113.diff

Index: src/applications/differential/field/specification/DifferentialUnitFieldSpecification.php
===================================================================
--- src/applications/differential/field/specification/DifferentialUnitFieldSpecification.php
+++ src/applications/differential/field/specification/DifferentialUnitFieldSpecification.php
@@ -71,6 +71,9 @@
}
$udata = isort($udata, 'sort');
+ $engine = PhabricatorMarkupEngine::newDifferentialMarkupEngine();
+ $engine->setConfig('viewer', $this->getUser());
+
foreach ($udata as $test) {
$result = idx($test, 'result');
@@ -115,8 +118,6 @@
if ($userdata !== false) {
$userdata = str_replace("\000", '', $userdata);
}
- $engine = PhabricatorMarkupEngine::newDifferentialMarkupEngine();
- $engine->setConfig('viewer', $this->getUser());
$userdata = $engine->markupText($userdata);
$rows[] = array(
'style' => 'details',

File Metadata

Mime Type
text/plain
Expires
Oct 20 2024, 2:44 PM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713926
Default Alt Text
D7581.id17113.diff (1012 B)

Event Timeline