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 107845e24..64e172b5b 100644
--- a/inc/indexer.php
+++ b/inc/indexer.php
@@ -1323,7 +1323,7 @@ function idx_listIndexLengths() {
$dir = @opendir($conf['indexdir']);
if ($dir === false)
return array();
- $idx[] = array();
+ $idx = array();
while (($f = readdir($dir)) !== false) {
if (substr($f, 0, 1) == 'i' && substr($f, -4) == '.idx') {
$i = substr($f, 1, -4);