1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-26 17:43:29 +02:00

Fix SQL query syntax

This commit is contained in:
Daniel Berteaud 2015-03-17 15:24:02 +01:00
parent f576b30399
commit 67c3f5705e

View File

@ -233,11 +233,11 @@ helper create_room => sub {
VALUES (?, VALUES (?,
CONVERT_TZ(NOW(), @@session.time_zone, \'+00:00\'), CONVERT_TZ(NOW(), @@session.time_zone, \'+00:00\'),
CONVERT_TZ(NOW(), @@session.time_zone, \'+00:00\'), CONVERT_TZ(NOW(), @@session.time_zone, \'+00:00\'),
?'); ?)');
}; };
$sth->execute( $sth->execute(
$name, $name,
$owner, $owner
); );
$self->app->log->info("Room $name created by " . $self->session('name')); $self->app->log->info("Room $name created by " . $self->session('name'));
# Etherpad integration ? If so, create the corresponding pad # Etherpad integration ? If so, create the corresponding pad