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

refs #16528 [fid] fixup

* adds missing changes from issue
* had been lost due to a merge conflict
parent 080467e6
No related merge requests found
...@@ -414,12 +414,9 @@ class GetIt extends AbstractHelper ...@@ -414,12 +414,9 @@ class GetIt extends AbstractHelper
public function hideNotice() public function hideNotice()
{ {
if (in_array($this->sid, $this->_getSourceIds('source_idsV8'))) { if (in_array($this->sid, $this->_getSourceIds('source_idsV8'))) {
if (in_array('Online', $this->facetAvail) if (!in_array('Free', $this->facetAvail)
&& preg_grep($this->_getNonSourceIds('source_idsV8_1'), $this->format) && (preg_grep($this->_getNonSourceIds('source_idsV8_1'), $this->format)
) { || preg_grep($this->_getNonSourceIds('source_idsV8_3'), $this->format))
return false;
} elseif (in_array('Local', $this->facetAvail)
&& preg_grep($this->_getNonSourceIds('source_idsV8_3'), $this->format)
) { ) {
return false; 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