Commit 9fc53b8f9dc53c7a0121a6f80c80d48b88953f1e

Authored by conradverm
1 parent 555d5dfa

KTS-673

"The search algorithm needs some work"
Updated.

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7514 c91229c3-7414-0410-bfa2-8a42b809f60b
search2/indexing/indexerCore.inc.php
@@ -489,7 +489,7 @@ abstract class Indexer @@ -489,7 +489,7 @@ abstract class Indexer
489 $content = preg_replace($src, $tgt, $content); 489 $content = preg_replace($src, $tgt, $content);
490 } while ($content != $orig); 490 } while ($content != $orig);
491 491
492 - return file_put_contents($filename, $content); 492 + return file_put_contents($filename, $content) !== false;
493 } 493 }
494 494
495 /** 495 /**