diff --git a/SeedDMS_Core/Core/inc.ClassAttribute.php b/SeedDMS_Core/Core/inc.ClassAttribute.php index f3545af73..d12584b05 100644 --- a/SeedDMS_Core/Core/inc.ClassAttribute.php +++ b/SeedDMS_Core/Core/inc.ClassAttribute.php @@ -1239,7 +1239,7 @@ class SeedDMS_Core_AttributeDefinitionGroup { /* {{{ */ $db = $this->_dms->getDB(); $hashtag = md5(implode('', $objtype).$show); - if (!isset($this->_attrdefs[$hashtag]) && !$this->_attrdefs[$hashtag]) { + if (!isset($this->_attrdefs[$hashtag]) || !$this->_attrdefs[$hashtag]) { /* FIXME: selecting showfilter is not needed if $show=0. I was just to lasy * to take it out with another if($show) ... */