Commit 8707f13b authored by mbriand's avatar mbriand
Browse files

test

parent bc1ef0d8
......@@ -180,7 +180,7 @@ elseif ( $_REQUEST["action"] == "delete" && $photo->is_valid() && !$_REQUEST["id
elseif ( $_REQUEST["action"] == "sethome" && $photo->is_valid() && $cat->is_valid() )
{
if ( $cat->is_right($site->user,DROIT_ECRITURE) )
if ( $photo->droits_acquis && ($photo->droits_acces & 1))
if ( $photo->droits_acquis )
{
$sqlph = $cat->get_photos ( $cat->id, $site->user, $grps, "sas_photos.id_photo");
$count=0;
......
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