Commit 4187c01ca7ea74687f973fbf9e2e1870a543857e
1 parent
ac5e882f
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
Showing
1 changed file
with
1 additions
and
1 deletions
search2/indexing/indexerCore.inc.php
| ... | ... | @@ -489,7 +489,7 @@ abstract class Indexer |
| 489 | 489 | $content = preg_replace($src, $tgt, $content); |
| 490 | 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 | /** | ... | ... |