1
0
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:
Lóna Lore
2017-12-10 11:27:20 +01:00
parent 812746e718
commit 917074ad3c

View File

@@ -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'] : '';
}
/**