summaryrefslogtreecommitdiff
path: root/inc/indexer.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/indexer.php')
-rw-r--r--inc/indexer.php2
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;