From 8fe72473878129cb80555dbf768116e344912cc7 Mon Sep 17 00:00:00 2001 From: rurban Date: Sat, 20 Nov 2004 09:16:27 +0000 Subject: [PATCH] Fix bad-style Cut&Paste programming errors, detected by Charles Corrigan. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4155 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/WikiDB.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/WikiDB.php b/lib/WikiDB.php index 02c959c29..cfc8eaf9b 100644 --- a/lib/WikiDB.php +++ b/lib/WikiDB.php @@ -1,5 +1,5 @@ _wikidb->_backend; - $result = $backend->get_links($this->_pagename, $reversed, $include_empty=false); + $result = $backend->get_links($this->_pagename, $reversed, $include_empty); return new WikiDB_PageIterator($this->_wikidb, $result, array('include_empty' => $include_empty)); } @@ -1163,13 +1163,13 @@ class WikiDB_Page * All Links from other pages to this page. */ function getBackLinks($include_empty=false) { - return $this->getLinks(true, $include_empty=false); + return $this->getLinks(true, $include_empty); } /** * Forward Links: All Links from this page to other pages. */ function getPageLinks($include_empty=false) { - return $this->getLinks(false, $include_empty=false); + return $this->getLinks(false, $include_empty); } /** @@ -2076,6 +2076,9 @@ function _sql_debuglog_shutdown_function() { } // $Log: not supported by cvs2svn $ +// Revision 1.104 2004/11/19 19:22:03 rurban +// ModeratePage part1: change status +// // Revision 1.103 2004/11/16 17:29:04 rurban // fix remove notification error // fix creation + update id_cache update -- 2.45.0