1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Removed unused variable from e107plugin::XmlAdminLinks()

Was causing an undefined index error
This commit is contained in:
Nick Liu 2020-01-17 19:55:25 +01:00
parent 98911f0b8e
commit 1561992815
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637

View File

@ -3548,7 +3548,6 @@ class e107plugin
foreach ($tag['link'] as $link)
{
$attrib = $link['@attributes'];
$linkName = (defset($link['@value'])) ? constant($link['@value']) : $link['@value'];
$url = e_PLUGIN_ABS.$this->plugFolder."/".$attrib['url'];
if (isset($attrib['primary']) && $attrib['primary'] == 'true')
{