Revision aa6598d8
Added by Andreas Kohlbecker over 4 years ago
modules/cdm_dataportal/classes/footnotemanager.php | ||
---|---|---|
108 | 108 |
* @return FootnoteKey |
109 | 109 |
*/ |
110 | 110 |
public static function addNewFootnote($footnoteListKey, $object = NULL, $enclosing_tag = null) { |
111 |
if (!$object) { |
|
111 |
if (!$object || !$footnoteListKey) {
|
|
112 | 112 |
return null; |
113 | 113 |
} |
114 | 114 |
if (!array_key_exists($footnoteListKey, self::$fnstore)) { |
Also available in: Unified diff
avoiding php warnings due to missing