diff options
author | Tom N Harris <tnharris@whoopdedo.org> | 2011-02-22 23:02:46 -0500 |
---|---|---|
committer | Tom N Harris <tnharris@whoopdedo.org> | 2011-02-22 23:02:46 -0500 |
commit | 5981eb09ea0468a670c1cdb238962bf54180c599 (patch) | |
tree | 4cd30efd21c200891c36b7fbd61660de0f23b592 | |
parent | 175193d28ead34dd3a45395407813c080f1b2f25 (diff) | |
download | rpg-5981eb09ea0468a670c1cdb238962bf54180c599.tar.gz rpg-5981eb09ea0468a670c1cdb238962bf54180c599.tar.bz2 |
Fix variable name type in indexer
-rw-r--r-- | inc/indexer.php | 8 |
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; } |