Skip to content
Snippets Groups Projects
Commit d5fc06e7 authored by Dorian Merz's avatar Dorian Merz
Browse files

Merge branch 'instance/fid' into instance/fid_adlr

parents 8f34f854 bb6c0a3f
Branches
Tags
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