fixed bug 729711
This commit is contained in:
parent
3531838ace
commit
15aa3403bb
6 changed files with 54 additions and 6 deletions
|
|
@ -258,7 +258,9 @@ If specified the wobject will be duplicated to this pageId, otherwise it will be
|
|||
=cut
|
||||
|
||||
sub duplicate {
|
||||
my %properties = %{$_[0]->get};
|
||||
my %properties;
|
||||
tie %properties, 'Tie::CPHash';
|
||||
%properties = %{$_[0]->get};
|
||||
$properties{pageId} = $_[1] || 2;
|
||||
if ($properties{pageId} == 2) {
|
||||
$properties{bufferUserId} = $session{user}{userId};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue