Fixed a problem where the group for a page would always be "Admins" if a UI Level was set to less than 9.

This commit is contained in:
JT Smith 2003-01-06 23:57:09 +00:00
parent 1483532536
commit 48c7da7d9f
2 changed files with 2 additions and 1 deletions

View file

@ -221,6 +221,7 @@ sub www_editPage {
$page{pageId} = "new";
$page{title} = $page{menuTitle} = $page{urlizedTitle} = $page{synopsis} = '';
$page{parentId} = $session{form}{npp};
$page{ownerId} = $session{user}{userId};
$page{ownerEdit} = 1;
$page{ownerView} = 1;
} else {