diff options
-rw-r--r-- | inc/indexer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/indexer.php b/inc/indexer.php index 3b4796676..1f0094876 100644 --- a/inc/indexer.php +++ b/inc/indexer.php @@ -909,7 +909,7 @@ class Doku_Indexer { $line .= "\n"; $fn = $conf['indexdir'].'/'.$idx.$suffix; $fh = @fopen($fn.'.tmp', 'w'); - if (!fh) return false; + if (!$fh) return false; $ih = @fopen($fn.'.idx', 'r'); if ($ih) { $ln = -1; |