[Lxr-dev] Typo in Mysql.pm
Brought to you by:
ajlittoz
From: Jens-Uwe M. <ju...@he...> - 2001-10-17 14:14:24
|
The if statement is missing a close parenthesis: Index: Mysql.pm =================================================================== RCS file: /cvsroot/lxr/lxr/lib/LXR/Index/Mysql.pm,v retrieving revision 1.9 diff -u -d -r1.9 Mysql.pm --- Mysql.pm 2001/10/16 20:25:32 1.9 +++ Mysql.pm 2001/10/17 14:13:04 @@ -32,7 +32,7 @@ my ($self, $dbname) = @_; $self = bless({}, $self); - if(defined($config->{dbpass}) { + if(defined($config->{dbpass})) { $self->{dbh} = DBI->connect($dbname, $config->{dbuser}, $config->{dbpass}) || fatal "Can't open connection to database\n"; -- Jens-Uwe Mager HELIOS Software GmbH Steinriede 3 30827 Garbsen Germany Phone: +49 5131 709320 FAX: +49 5131 709325 Internet: ju...@he... |