Some missing owner column leftover

master
Daniel Berteaud 10 years ago
parent 601632c07b
commit 0ca69a4edc
  1. 4
      vroom.pl

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

Loading…
Cancel
Save