mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 11:04:18 +02:00
Removed unused variable from e107plugin::XmlAdminLinks()
Was causing an undefined index error
This commit is contained in:
@@ -3548,7 +3548,6 @@ class e107plugin
|
|||||||
foreach ($tag['link'] as $link)
|
foreach ($tag['link'] as $link)
|
||||||
{
|
{
|
||||||
$attrib = $link['@attributes'];
|
$attrib = $link['@attributes'];
|
||||||
$linkName = (defset($link['@value'])) ? constant($link['@value']) : $link['@value'];
|
|
||||||
$url = e_PLUGIN_ABS.$this->plugFolder."/".$attrib['url'];
|
$url = e_PLUGIN_ABS.$this->plugFolder."/".$attrib['url'];
|
||||||
if (isset($attrib['primary']) && $attrib['primary'] == 'true')
|
if (isset($attrib['primary']) && $attrib['primary'] == 'true')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user