diff --git a/pandora_server/bin/pandora_db.pm b/pandora_server/bin/pandora_db.pm index ce24e26501..3208204bbd 100644 --- a/pandora_server/bin/pandora_db.pm +++ b/pandora_server/bin/pandora_db.pm @@ -754,7 +754,7 @@ sub pandora_writedata (%$$$$$$$$$) { my $sql_oldvalue = $dbh->prepare($query); $sql_oldvalue->execute; @data = $sql_oldvalue->fetchrow_array(); - my $sql_oldvalue = $dbh->prepare($query); + $sql_oldvalue = $dbh->prepare($query); $sql_oldvalue->execute; if ($sql_oldvalue->rows != 0) { @data = $sql_oldvalue->fetchrow_array();