remove extra my

This commit is contained in:
Isaac Connor 2017-01-15 10:57:39 -05:00
parent c79dfb6a16
commit 052807aaf5
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ if ( $version )
close $fh;
$dbh->do($sql) or die $dbh->errstr();
print( "\nDatabase successfully upgraded to version $version.\n" );
my $sql = "update Config set Value = ? where Name = 'ZM_DYN_DB_VERSION'";
$sql = "update Config set Value = ? where Name = 'ZM_DYN_DB_VERSION'";
my $sth = $dbh->prepare_cached( $sql ) or die( "Can't prepare '$sql': ".$dbh->errstr() );
my $res = $sth->execute( $version ) or die( "Can't execute: ".$sth->errstr() );
}