summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 114fb36)
raw | patch | inline | side by side (parent: 114fb36)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Mar 2008 10:11:00 +0000 (10:11 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Mar 2008 10:11:00 +0000 (10:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9916 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/DBsqlite.pm | patch | blob | history |
index 0b5cd69dd522ff98d2360a8b49ab7bcdc7592217..8eba13d478cf28edeaadfc914db033ef716cfda2 100644 (file)
}
}
- my $sql_statement = "INSERT INTO $table (".join(", ", @col_list).") VALUES (".join(", ", @val_list).")";
+ my $sql_statement = "INSERT INTO $table (".join(", ", @col_list).") VALUES ('".join("', '", @val_list)."')";
&create_lock($self,'add_dbentry');
my $db_res = $self->{dbh}->do($sql_statement);
&remove_lock($self,'add_dbentry');