Some missing owner column leftover

This commit is contained in:
Daniel Berteaud 2015-06-26 13:45:04 +02:00
parent 601632c07b
commit 0ca69a4edc
1 changed files with 1 additions and 3 deletions

View File

@ -288,8 +288,7 @@ helper modify_room => sub {
}
my $sth = eval {
$self->db->prepare('UPDATE `rooms`
SET `owner`=?,
`locked`=?,
SET `locked`=?,
`ask_for_name`=?,
`join_password`=?,
`owner_password`=?,
@ -298,7 +297,6 @@ helper modify_room => sub {
WHERE `id`=?');
};
$sth->execute(
$room->{owner},
$room->{locked},
$room->{ask_for_name},
$room->{join_password},