diff --git a/core/trunk/core/class/docservers_controler.php b/core/trunk/core/class/docservers_controler.php index b409fc4ce467ad5aa87f5f0a616a84567f8bcbe9..6961fa36e9b80d8b9f21ffe9073f8b5ccddae525 100644 --- a/core/trunk/core/class/docservers_controler.php +++ b/core/trunk/core/class/docservers_controler.php @@ -1260,7 +1260,8 @@ class docservers_controler $docserverTypeObject = $docserverTypeControler->get( $docserverObject->docserver_type_id ); - if ($docserverTypeObject->is_container + + if ($docserverTypeObject->is_container == 'Y' && $adr['offset_doc'] == '' ) { $error = true; @@ -1275,7 +1276,7 @@ class docservers_controler ); } //manage compressed resource - if ($docserverTypeObject->is_compressed) { + if ($docserverTypeObject->is_compressed == 'Y') { $extract = array(); $extract = Ds_extractArchive( $adrToExtract,