Changeset View
Changeset View
Standalone View
Standalone View
src/browse/workflow/ArcanistBrowseWorkflow.php
Context not available. | |||||
if ($many_hits) { | if ($many_hits) { | ||||
foreach ($many_hits as $ref) { | foreach ($many_hits as $ref) { | ||||
$token = $ref->getToken(); | $token = $ref->getToken(); | ||||
if (strlen($token)) { | if (@strlen($token)) { | ||||
$message = pht('Argument "%s" is ambiguous.', $token); | $message = pht('Argument "%s" is ambiguous.', $token); | ||||
} else { | } else { | ||||
$message = pht('Default behavior is ambiguous.'); | $message = pht('Default behavior is ambiguous.'); | ||||
Context not available. | |||||
foreach ($many_hits as $ref) { | foreach ($many_hits as $ref) { | ||||
$token_display = $ref->getToken(); | $token_display = $ref->getToken(); | ||||
if (!strlen($token)) { | if (!@strlen($token)) { | ||||
$token_display = pht('<default>'); | $token_display = pht('<default>'); | ||||
} | } | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0