Commit ff0e7a59 authored by BenC's avatar BenC

debug

parent dcf17be3
......@@ -104,8 +104,8 @@ class sascategory extends contents
{
$link = $page."?meta_id_catph=".$cat->id."&id_catph=".$row['id_catph'];
$scat->_load($row);
echo "Mode : ".$scat->meta_mode;
if ( $scat->is_right($user,DROIT_ECRITURE) && $scat->meta_mode != CATPH_MODE_META_ASSO )
echo "Mode : ".$cat->meta_mode;
if ( $scat->is_right($user,DROIT_ECRITURE) && $cat->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