From 6cf0dc20408797d9767c078a0dd4b7a7175e2b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Ra=C3=B1a?= Date: Tue, 10 Mar 2009 17:52:33 +0100 Subject: [PATCH] [svn r18937] show better possible return --- main/inc/lib/document.lib.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main/inc/lib/document.lib.php b/main/inc/lib/document.lib.php index 35861ccefb..776bea40a2 100644 --- a/main/inc/lib/document.lib.php +++ b/main/inc/lib/document.lib.php @@ -1055,8 +1055,12 @@ class DocumentManager { return true; // ok, document is visible } + else + { + return false; + } } } //end class DocumentManager -?> +?> \ No newline at end of file