Skip to content
Snippets Groups Projects
Commit bb6c0a3f authored by Gregor Gawol's avatar Gregor Gawol Committed by Dorian Merz
Browse files

refs #16616 [fid] bug boss

* fixed some boss bugs
parent 9a4459d2
No related merge requests found
......@@ -414,9 +414,15 @@ class GetIt extends AbstractHelper
public function hideNotice()
{
if (in_array($this->sid, $this->_getSourceIds('source_idsV8'))) {
if (!in_array('Free', $this->facetAvail)
if (in_array('Online', $this->facetAvail)
&& (preg_grep($this->_getNonSourceIds('source_idsV8_1'), $this->format)
|| preg_grep($this->_getNonSourceIds('source_idsV8_3'), $this->format))
|| preg_grep($this->_getNonSourceIds('source_idsV8_5'), $this->format)
|| preg_grep($this->_getNonSourceIds('source_idsV8_6'), $this->format))
) {
return false;
} elseif (in_array('Local', $this->facetAvail)
&& (preg_grep($this->_getNonSourceIds('source_idsV8_3'), $this->format)
|| preg_grep($this->_getNonSourceIds('source_idsV8_2'), $this->format))
) {
return false;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment