We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e184ffa + b8dec93 commit 50e7866Copy full SHA for 50e7866
php/commands/art.php
@@ -16,7 +16,7 @@ class Art_Command extends Terminus_Command {
16
*
17
*/
18
function __invoke( $args, $assoc_args ) {
19
- $artwork = array_shift($args) ?: array_keys($this->works, 0);
+ $artwork = array_shift($args) ?: key($this->works);
20
21
if (!empty($artwork) && array_key_exists($artwork, $this->works)){
22
echo Terminus::colorize("%g".base64_decode($this->works[$artwork])."%n")."\n";
0 commit comments