nlopess Sat Mar 20 06:23:43 2004 EDT
Modified files: /livedocs mkindex.php Log: didou's hack broken indexing. need to find a better hack for pear http://cvs.php.net/diff.php/livedocs/mkindex.php?r1=1.24&r2=1.25&ty=u Index: livedocs/mkindex.php diff -u livedocs/mkindex.php:1.24 livedocs/mkindex.php:1.25 --- livedocs/mkindex.php:1.24 Wed Mar 17 12:37:20 2004 +++ livedocs/mkindex.php Sat Mar 20 06:23:43 2004 @@ -19,7 +19,7 @@ // | construct an index | // +----------------------------------------------------------------------+ // -// $Id: mkindex.php,v 1.24 2004/03/17 17:37:20 didou Exp $ +// $Id: mkindex.php,v 1.25 2004/03/20 11:23:43 nlopess Exp $ /* just to be on the safe side */ @@ -90,7 +90,7 @@ } function end_elem($parser, $name) { - if ($this->last_id !== false && $name == 'TITLE') { + if ($this->last_id !== false) { echo "\tAdded ID {$this->last_id}\n"; $this->data .= "INSERT INTO idents VALUES ('{$this->last_id}', {$this->fileid}, '" . sqlite_escape_string(trim($this->cdata)) . "');";