Page MenuHomePhabricator

D10352.diff
No OneTemporary

D10352.diff

diff --git a/src/workflow/ArcanistBrowseWorkflow.php b/src/workflow/ArcanistBrowseWorkflow.php
--- a/src/workflow/ArcanistBrowseWorkflow.php
+++ b/src/workflow/ArcanistBrowseWorkflow.php
@@ -144,10 +144,10 @@
// If we fail, try to resolve them as paths.
foreach ($things as $key => $path) {
- $line = null;
+ $lines = null;
$parts = explode(':', $path);
if (count($parts) > 1) {
- $line = (int)array_pop($parts);
+ $lines = array_pop($parts);
}
$path = implode(':', $parts);
@@ -173,8 +173,8 @@
$base_uri = $this->getBaseURI();
$uri = $base_uri.$path;
- if ($line) {
- $uri = $uri.'$'.$line;
+ if ($lines) {
+ $uri = $uri.'$'.$lines;
}
$uris[] = $uri;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 1:44 AM (8 h, 33 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6776708
Default Alt Text
D10352.diff (811 B)

Event Timeline