Browse Source

Fix PHP Notice.

fix
Alexander O'Neill 6 years ago
parent
commit
0a54806224
  1. 3
      bibcite_footnotes.module

3
bibcite_footnotes.module

@ -76,6 +76,9 @@ function bibcite_footnotes_preprocess_bibcite_footnote_list(&$variables) {
$dont_show_backlink_text = $config['reference_dont_show_backlink_text']; $dont_show_backlink_text = $config['reference_dont_show_backlink_text'];
$sort_references_by = $config['reference_sort_by']; $sort_references_by = $config['reference_sort_by'];
$citation_tools = new CitationTools(); $citation_tools = new CitationTools();
if (empty($footnotes)) {
return;
}
foreach ($footnotes as $fn) { foreach ($footnotes as $fn) {
$item = [ $item = [
'#id' => $fn['fn_id'], '#id' => $fn['fn_id'],

Loading…
Cancel
Save