|
@@ -80,8 +80,8 @@ class Version extends Core
|
|
|
"pages/service-1/index"
|
|
|
);
|
|
|
*/
|
|
|
- if (!isset($template['act_id'])) {
|
|
|
- $template['act_id'] = 0;
|
|
|
+ if (!isset($info['act_id'])) {
|
|
|
+ $info['act_id'] = 0;
|
|
|
}
|
|
|
$ext = array
|
|
|
(
|
|
@@ -93,7 +93,7 @@ class Version extends Core
|
|
|
'version' => $info['name'],
|
|
|
'desc' => $user['desc'],
|
|
|
'project' => $project['id'],
|
|
|
- 'act' => $template['act_id'],
|
|
|
+ 'act' => $info['act_id'],
|
|
|
),
|
|
|
'extPages' => array(),
|
|
|
'pages' => $page,
|