summaryrefslogtreecommitdiff
path: root/inc/indexer.php
diff options
context:
space:
mode:
authorTom N Harris <tnharris@whoopdedo.org>2011-02-22 23:02:46 -0500
committerTom N Harris <tnharris@whoopdedo.org>2011-02-22 23:02:46 -0500
commit5981eb09ea0468a670c1cdb238962bf54180c599 (patch)
tree4cd30efd21c200891c36b7fbd61660de0f23b592 /inc/indexer.php
parent175193d28ead34dd3a45395407813c080f1b2f25 (diff)
downloadrpg-5981eb09ea0468a670c1cdb238962bf54180c599.tar.gz
rpg-5981eb09ea0468a670c1cdb238962bf54180c599.tar.bz2
Fix variable name type in indexer
Diffstat (limited to 'inc/indexer.php')
-rw-r--r--inc/indexer.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/indexer.php b/inc/indexer.php
index c28f24f75..5ab0ec002 100644
--- a/inc/indexer.php
+++ b/inc/indexer.php
@@ -120,8 +120,8 @@ class Doku_Indexer {
return "locked";
// load known documents
- $page_idx = $this->_addIndexKey('page', '', $page);
- if ($page_idx === false) {
+ $pid = $this->_addIndexKey('page', '', $page);
+ if ($pid === false) {
$this->_unlock();
return false;
}
@@ -348,8 +348,8 @@ class Doku_Indexer {
return "locked";
// load known documents
- $page_idx = $this->_getIndexKey('page', '', $page);
- if ($page_idx === false) {
+ $pid = $this->_getIndexKey('page', '', $page);
+ if ($pid === false) {
$this->_unlock();
return false;
}