diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php index e5287b4697b..d98b221f24d 100644 --- a/htdocs/ecm/index.php +++ b/htdocs/ecm/index.php @@ -255,7 +255,14 @@ print ''.$langs->trans("ECMNbOfDocsSmall") print ''.img_picto($langs->trans("Refresh"),'refresh').''; print ''; print ''; -print ''.img_picto($langs->trans("ECMNewSection"),'edit_add').''; +if ($user->rights->ecm->create) +{ + print ''.img_picto($langs->trans("ECMNewSection"),'edit_add').''; +} +else +{ + print ' '; +} print ''; print '';