mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-05 19:42:12 +09:00
issue 1527 copy extra vars when copy document in same module srl
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10199 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c780878499
commit
c3bf5c053e
1 changed files with 11 additions and 0 deletions
|
|
@ -190,6 +190,17 @@
|
|||
|
||||
$obj = null;
|
||||
$obj = $oDocument->getObjectVars();
|
||||
if($module_srl == $obj->module_srl)
|
||||
{
|
||||
$extraVars = $oDocument->getExtraVars();
|
||||
if(is_array($extraVars))
|
||||
{
|
||||
foreach($extraVars as $extraItem)
|
||||
{
|
||||
$obj->{'extra_vars'.$extraItem->idx} = $extraItem->value;
|
||||
}
|
||||
}
|
||||
}
|
||||
$obj->module_srl = $module_srl;
|
||||
$obj->document_srl = getNextSequence();
|
||||
$obj->category_srl = $category_srl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue