Fixed a typo (using same var twice in a test)
This commit is contained in:
parent
76ec613777
commit
1d4d79c461
|
@ -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(':%NAME%:%START%', '', $this->getConf('public_pages_ns'));
|
||||||
$PublicNS = str_replace(':', '', $PublicNS);
|
$PublicNS = str_replace(':', '', $PublicNS);
|
||||||
$PrivateNS = str_replace(':', '', $this->getConf('users_namespace'));
|
$PrivateNS = str_replace(':', '', $this->getConf('users_namespace'));
|
||||||
if ($PublicNS == $PublicNS) {
|
if ($PublicNS == $PrivateNS) {
|
||||||
if ($msg) {
|
if ($msg) {
|
||||||
msg("UserHomePage error #1 ! Make sure Private and Public namespaces are different. Plugin will have no effect untill this is corrected.", -1);
|
msg("UserHomePage error #1 ! Make sure Private and Public namespaces are different. Plugin will have no effect untill this is corrected.", -1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue