Skip to content
Snippets Groups Projects
Commit e04c63aa authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

rel #12794 : fix empty call on var setting ci server compatibility

parent c578b820
Branches
Tags
4 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!93Master,!88Hotline 6.41,!85Hotline#12794 Display 464 Periodicals Title Authors
......@@ -41,8 +41,11 @@ class ZendAfi_View_Helper_Notice_Analytics extends Zend_View_Helper_HtmlElement
$title_field = $preferences[self::PREF_ANALYTICS_TITLE];
$authors_field = explode(';', $preferences[self::PREF_ANALYTICS_AUTHORS]);
if (!$analytics_field || !is_array($authors_field)
|| empty($analytics = $notice->get_subfield($analytics_field)))
if (!$analytics_field || !is_array($authors_field))
return '';
$analytics = $notice->get_subfield($analytics_field);
if (empty($analytics))
return '';
$items = [];
......
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