Fix SQL query syntax

master
Daniel Berteaud 10 years ago
parent f576b30399
commit 67c3f5705e
  1. 4
      vroom.pl

@ -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

Loading…
Cancel
Save