mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 07:06:30 +02:00
Fix for PHP Notice Undefined index: link_identifier, Line 1986 of /e107_handlers/sitelinks_class.php
This commit is contained in:
@@ -1977,13 +1977,13 @@ class navigation_shortcodes extends e_shortcode
|
||||
*/
|
||||
function sc_link_parent($parm='')
|
||||
{
|
||||
return intval($this->var['link_parent']);
|
||||
return intval($this->var['link_parent']);
|
||||
}
|
||||
|
||||
|
||||
function sc_link_identifier($parm='')
|
||||
{
|
||||
return $this->var['link_identifier'];
|
||||
return isset($this->var['link_identifier']) ? $this->var['link_identifier'] : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user