--- trunk/bin/BackupPC_updatedb 2005/08/28 17:04:12 89 +++ trunk/bin/BackupPC_updatedb 2005/08/28 17:42:25 90 @@ -113,7 +113,7 @@ -- files.name AS filename, files.path AS filepath, files.date AS date, - files.type AS filetype, + files.type AS type, files.size AS size, files.shareid AS shareid, backups.date AS backup_date @@ -165,7 +165,8 @@ my $fid = $row->{'fid'} || die "no fid?"; my $uri = 'file:///' . $fid; - next if ($db->uri_to_id($uri)); + my $id = $db->uri_to_id($uri); + next unless ($id == -1); # create a document object my $doc = HyperEstraier::Document->new;