Code

Merged changeset:13564.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 30 Mar 2009 15:32:31 +0000 (15:32 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 30 Mar 2009 15:32:31 +0000 (15:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13571 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/DBsqlite.pm

index 84764fff2134b1b00fed13f0eed85f939afeba5d..ddb4c0d8490387f04f8872c001f61338f84e12c6 100644 (file)
@@ -271,7 +271,7 @@ sub get_table_columns {
                }
        } else {
                my @res;
-               foreach my $column ( $self->exec_statement ( "pragma table_info('$table')" ) ) {
+               foreach my $column ( @{ $self->exec_statement ( "pragma table_info('$table')" ) } ) {
                        push(@column_names, @$column[1]);
                }
        }