X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FApp%2FCommand%2FShow.pm;h=37920980df94e45e3cdd2b5a23620bd491678def;hb=refs%2Fheads%2Fnodbic;hp=0c06d573a92e3435a4012e34b35ed345745fce04;hpb=a832cd596e85a2deac94a1ccc6536f0b079a1543;p=gruntmaster-data.git diff --git a/lib/Gruntmaster/App/Command/Show.pm b/lib/Gruntmaster/App/Command/Show.pm index 0c06d57..3792098 100644 --- a/lib/Gruntmaster/App/Command/Show.pm +++ b/lib/Gruntmaster/App/Command/Show.pm @@ -28,7 +28,7 @@ sub validate_args { sub execute { my ($self, $opt, $args) = @_; my ($obj) = @$args; - $TABLE{$self->app->table}->(db->select($self->app->table, '*', {id => $obj})->kv_list); + $TABLE{$self->app->table}->(%{db->select($self->app->table, '*', {id => $obj})->hash}); } sub show_contest {