From 64b814cdd27279abe12c9f1418b926876572d898 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 26 May 2022 15:58:16 +0800 Subject: [PATCH 1/2] * Fix bug #22998. --- module/tutorial/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/tutorial/model.php b/module/tutorial/model.php index ad45c76f6d..004fc8feeb 100644 --- a/module/tutorial/model.php +++ b/module/tutorial/model.php @@ -291,6 +291,7 @@ class tutorialModel extends model $execution->end = date('Y-m-d', strtotime('+7 days')); $execution->realBegan = ''; $execution->realEnd = ''; + $execution->suspendedDate = ''; $execution->days = 10; $execution->status = 'wait'; $execution->pri = '1'; From 79d7990c21451361c337fcbf898dd98b3752d668 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 26 May 2022 16:00:47 +0800 Subject: [PATCH 2/2] * Fix bug #22994. --- module/doc/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/control.php b/module/doc/control.php index 47642c5548..731414c293 100644 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -317,7 +317,7 @@ class doc extends control if($this->viewType == 'json') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'id' => $docID)); $objectID = zget($lib, $lib->type, ''); $params = "type={$lib->type}&objectID=$objectID&libID={$lib->id}&docID=" . $docResult['id']; - $link = isonlybody() ? 'parent' : $this->createLink('doc', 'objectLibs', $params, 'html'); + $link = isonlybody() ? 'parent' : $this->createLink('doc', 'objectLibs', $params, 'html') . '#app=' . $this->app->tab; return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $link)); }