--- db/prgsrc/updatem.pl 2000/10/17 01:47:34 1.2 +++ db/prgsrc/updatem.pl 2000/10/17 01:53:44 1.3 @@ -22,7 +22,7 @@ The database, user and password are hard Dmitry Rubinstein -=head1 $Id: updatem.pl,v 1.2 2000/10/17 01:47:34 boris Exp $ +=head1 $Id: updatem.pl,v 1.3 2000/10/17 01:53:44 boris Exp $ =cut @@ -61,7 +61,7 @@ MAIN: (Title, ParentId, MetaId, Type) VALUES ($title, $ParentId, $MetaId, 'ç')"); $sth->execute; - my $Id = $sth->{'insertid'}; + my $Id = $sth->{'mysql_insertid'}; $depthId[$depth] = $Id; } $dbh->disconnect;