@@ 269-272 (lines=4) @@ | ||
266 | // Register keys for document extra vars |
|
267 | if(count($document_extra_keys)) |
|
268 | { |
|
269 | foreach($document_extra_keys as $var_idx => $val) |
|
270 | { |
|
271 | $oDocumentController->insertDocumentExtraKey($module_srl, $var_idx, $val->name, $val->type, $val->is_required, $val->search, $val->default, $val->desc, 'extra_vars'.$var_idx); |
|
272 | } |
|
273 | // 2009-04-14 Fixed a bug that only 100 extra vars are moved |
|
274 | $oDocumentModel = getModel('document'); |
|
275 | $total_count = $oDocumentModel->getDocumentCount($module_srl); |
@@ 2544-2547 (lines=4) @@ | ||
2541 | $oDocumentController=getController('document'); |
|
2542 | foreach($obj->moduleSrlList AS $key=>$value) |
|
2543 | { |
|
2544 | foreach($documentExtraKeys AS $extraItem) |
|
2545 | { |
|
2546 | $oDocumentController->insertDocumentExtraKey($value, $extraItem->idx, $extraItem->name, $extraItem->type, $extraItem->is_required , $extraItem->search , $extraItem->default , $extraItem->desc, $extraItem->eid) ; |
|
2547 | } |
|
2548 | } |
|
2549 | } |
|
2550 | } |