Skip to content

Commit

Permalink
Merged upstream master
Browse files Browse the repository at this point in the history
Merge branch 'master' of github.com:pantheon-systems/cli
  • Loading branch information
mikevanwinkle committed Dec 19, 2014
2 parents 2185e87 + b15b038 commit e184ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/commands/art.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Art_Command extends Terminus_Command {
*
*/
function __invoke( $args, $assoc_args ) {
$artwork = array_shift($args);
$artwork = array_shift($args) ?: array_keys($this->works, 0);

if (!empty($artwork) && array_key_exists($artwork, $this->works)){
echo Terminus::colorize("%g".base64_decode($this->works[$artwork])."%n")."\n";
Expand Down

0 comments on commit e184ffa

Please sign in to comment.