diff --git a/module/doc/view/edittexttype.html.php b/module/doc/view/edittexttype.html.php index 5f2aa94148..93a3aea1a1 100644 --- a/module/doc/view/edittexttype.html.php +++ b/module/doc/view/edittexttype.html.php @@ -56,7 +56,7 @@ .modal-title {font-size: 14px !important; font-weight: 700 !important;} #basicInfoBox tfoot td {padding-bottom: 0;} -createLink('doc', 'objectlibs', "type=$type&objectID=$objectID&libID={$lib->id}&docID={$doc->id}") . "#app={$this->app->tab}";?> +session->docList ? $app->session->docList : $this->createLink('doc', 'objectlibs', "type=$type&objectID=$objectID&libID={$lib->id}&docID={$doc->id}") . "#app={$this->app->tab}";?>