Commit e4378455 authored by BenC's avatar BenC

Anti-boulet ?

parent bf53f8fd
......@@ -104,7 +104,7 @@ class sascategory extends contents
{
$link = $page."?meta_id_catph=".$cat->id."&id_catph=".$row['id_catph'];
$scat->_load($row);
if ( $scat->is_right($user,DROIT_ECRITURE) )
if ( $scat->is_right($user,DROIT_ECRITURE) && $scat->meta_mode != CATPH_MODE_META_ASSO )
$acts = array("delete","edit","cut");
}
else
......
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