--- trunk/lib/WebPAC/Input.pm 2006/05/14 12:34:50 487 +++ trunk/lib/WebPAC/Input.pm 2006/05/14 19:45:26 496 @@ -224,7 +224,7 @@ filter => $filter_ref, ); - unless ($db) { + unless (defined($db)) { $log->logwarn("can't open database $arg->{path}, skipping..."); return; }