* Code for bug #15518.
This commit is contained in:
@@ -475,7 +475,7 @@ class doc extends control
|
||||
/* Get doc. */
|
||||
$docID = (int)$docID;
|
||||
$doc = $this->doc->getById($docID, $version, true);
|
||||
if(!$doc) die(js::error($this->lang->notFound) . js::locate('back'));
|
||||
if(!$doc) die(js::error($this->lang->notFound) . js::locate($this->createLink('doc', 'index')));
|
||||
|
||||
/* The global search opens in the document library. */
|
||||
if(!isonlybody())
|
||||
@@ -914,7 +914,7 @@ class doc extends control
|
||||
if($docID)
|
||||
{
|
||||
$doc = $this->doc->getById($docID, $version, true);
|
||||
if(!$doc) die(js::error($this->lang->notFound) . js::locate($this->createLink('doc', 'index')));
|
||||
if(!$doc) die(js::error($this->lang->notFound));
|
||||
|
||||
if($doc->keywords)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user