mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +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='')
|
function sc_link_parent($parm='')
|
||||||
{
|
{
|
||||||
return intval($this->var['link_parent']);
|
return intval($this->var['link_parent']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function sc_link_identifier($parm='')
|
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