diff core/modules/taxonomy/src/VocabularyListBuilder.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 1fec387a4317
children 129ea1e6d783
line wrap: on
line diff
--- a/core/modules/taxonomy/src/VocabularyListBuilder.php	Thu Apr 26 11:26:54 2018 +0100
+++ b/core/modules/taxonomy/src/VocabularyListBuilder.php	Tue Jul 10 15:07:59 2018 +0100
@@ -123,7 +123,7 @@
     $header['label'] = t('Vocabulary name');
     $header['description'] = t('Description');
 
-    if ($this->currentUser->hasPermission('administer vocabularies')) {
+    if ($this->currentUser->hasPermission('administer vocabularies') && !empty($this->weightKey)) {
       $header['weight'] = t('Weight');
     }