Commit fc3bc4e4 authored by Bate's avatar Bate

Les non connectes n'ont pas droit que de lire les fichiers

parent 12227810
......@@ -106,7 +106,7 @@ abstract class basedb extends stdentity
{
if(!$user->is_valid()) {
if($required == DROIT_LECTURE && ($this->droits_access&DROIT_LECTURE > 0))
if($required == DROIT_LECTURE && (($this->droits_access&DROIT_LECTURE) > 0))
return true;
else
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment