@@ -102,7 +102,7 @@ |
||
| 102 | 102 | $this->_user_id = midcom::get()->auth->acl->get_user_id(); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | - if ( $this->hide_invisible |
|
| 105 | + if ($this->hide_invisible |
|
| 106 | 106 | && !$this->_visibility_checks_added) { |
| 107 | 107 | if (!midcom::get()->config->get('show_hidden_objects')) { |
| 108 | 108 | $this->add_constraint('metadata.hidden', '=', false); |