1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-18 04:09:14 +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 (?,
CONVERT_TZ(NOW(), @@session.time_zone, \'+00:00\'),
CONVERT_TZ(NOW(), @@session.time_zone, \'+00:00\'),
?');
?)');
};
$sth->execute(
$name,
$owner,
$owner
);
$self->app->log->info("Room $name created by " . $self->session('name'));
# Etherpad integration ? If so, create the corresponding pad