]> iEval git - gruntmaster-data.git/commitdiff
Do not use kv_list as it does not exist in jessie DBIx::Simple nodbic
authorMarius Gavrilescu <marius@ieval.ro>
Mon, 28 Sep 2015 10:29:51 +0000 (13:29 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Mon, 28 Sep 2015 10:29:51 +0000 (13:29 +0300)
lib/Gruntmaster/App/Command/Show.pm

index 0c06d573a92e3435a4012e34b35ed345745fce04..37920980df94e45e3cdd2b5a23620bd491678def 100644 (file)
@@ -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 {
This page took 0.028951 seconds and 4 git commands to generate.