left overs from moving canEdit around

This commit is contained in:
JT Smith 2004-06-02 15:15:04 +00:00
parent 9449f5af0b
commit 3ba01fa99d
3 changed files with 2 additions and 5 deletions

View file

@ -228,7 +228,7 @@ sub canView {
} elsif ($page{startDate} < WebGUI::DateTime::time() && $page{endDate} > WebGUI::DateTime::time() && WebGUI::Grouping::isInGroup($page{groupIdView})) {
return 1;
} else {
return canEditPage($pageId);
return canEdit($pageId);
}
}