From 1d4d79c461d9b77b5aa20394acbc0f64daa4d589 Mon Sep 17 00:00:00 2001 From: Simon DELAGE Date: Sun, 22 Nov 2015 21:56:45 +0100 Subject: [PATCH] Fixed a typo (using same var twice in a test) --- action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.php b/action.php index 02d2222..c2ced05 100644 --- a/action.php +++ b/action.php @@ -427,7 +427,7 @@ class action_plugin_userhomepage extends DokuWiki_Action_Plugin{ $PublicNS = str_replace(':%NAME%:%START%', '', $this->getConf('public_pages_ns')); $PublicNS = str_replace(':', '', $PublicNS); $PrivateNS = str_replace(':', '', $this->getConf('users_namespace')); - if ($PublicNS == $PublicNS) { + if ($PublicNS == $PrivateNS) { if ($msg) { msg("UserHomePage error #1 ! Make sure Private and Public namespaces are different. Plugin will have no effect untill this is corrected.", -1); }