diff --git a/modules/document/document.item.php b/modules/document/document.item.php index a99630ebd..82428d612 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -631,6 +631,12 @@ return $buffs; } + function getStatus() + { + if(!$this->get('status')) return 'PUBLIC'; + return $this->get('status'); + } + /** * @brief Return the value obtained from getExtraImages with image tag **/