Changeset View
Changeset View
Standalone View
Standalone View
src/phage/action/PhageAgentAction.php
Context not available. | |||||
} | } | ||||
private function writeOutput($key, $kind, $text) { | private function writeOutput($key, $kind, $text) { | ||||
if (!strlen($text)) { | if (!@strlen($text)) { | ||||
return; | return; | ||||
} | } | ||||
Context not available. | |||||
$command = $this->commands[$key]['command']; | $command = $this->commands[$key]['command']; | ||||
$label = $command->getLabel(); | $label = $command->getLabel(); | ||||
if (!strlen($label)) { | if (!@strlen($label)) { | ||||
$label = pht('Unknown Command'); | $label = pht('Unknown Command'); | ||||
} | } | ||||
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