From 67c3f5705e0ce78da6cee6a92d8e6d1154a9974d Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 17 Mar 2015 15:24:02 +0100 Subject: [PATCH] Fix SQL query syntax --- vroom.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vroom.pl b/vroom.pl index 3d8e498..6599658 100755 --- a/vroom.pl +++ b/vroom.pl @@ -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