mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-12-27 15:28:51 +00:00
fix check for cached attr def list
This commit is contained in:
parent
75d6678e2c
commit
6a367906d6
|
|
@ -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) ...
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user