[Pmwiki-users] Typo in earlier patch

Christian Ridderström chr
Fri Jan 23 09:01:11 CST 2004


Patrick send this patch (I think, unless I managed to copy it incorrectly)

	if ($pagename="") $pagename="Main.HomePage";

but unfortunately there's an error in it. (e.g. IMO the '=' should be '==')

Anyway, here's a modified patch that works for me:

	$DefaultGroup = "Main";          
	$DefaultPage = "Main.HomePage";
	if("$pagename" == "") {
		$pagename=$DefaultPage; $group=$DefaultGroup;
	};

/Christian


-- 
Dr. Christian Ridderstr?m, +46-8-768 39 44       http://www.md.kth.se/~chr




More information about the pmwiki-users mailing list