Wobject privileges no longer inherited from page while duplicating
This commit is contained in:
parent
1471d60d0f
commit
ad87ece467
1 changed files with 0 additions and 2 deletions
|
|
@ -244,8 +244,6 @@ sub duplicate {
|
|||
$properties{sequenceNumber} = _getNextSequenceNumber($properties{pageId});
|
||||
my $page = WebGUI::SQL->quickHashRef("select groupIdView,ownerId,groupIdEdit from page where pageId=".quote($properties{pageId}));
|
||||
$properties{ownerId} = $page->{ownerId};
|
||||
$properties{groupIdView} = $page->{groupIdView};
|
||||
$properties{groupIdEdit} = $page->{groupIdEdit};
|
||||
if ($properties{pageId} eq '2') {
|
||||
$properties{bufferUserId} = $session{user}{userId};
|
||||
$properties{bufferDate} = time();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue