Page MenuHomePhabricator

D10352.id24920.diff
No OneTemporary

D10352.id24920.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
Thu, Apr 17, 4:29 PM (6 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7676403
Default Alt Text
D10352.id24920.diff (811 B)

Event Timeline