1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-19 20:21:51 +02:00

Blog-calendar PHP notice.

This commit is contained in:
Cameron 2021-02-03 05:22:28 -08:00
parent 4b6d23dbf6
commit 19ec29f4a5

View File

@ -303,10 +303,12 @@ class e_plugin
public function getIcon($size = 16,$opt='')
{
if(!isset($this->_data[$this->_plugdir]))
{
return null;
}
$link = $this->_data[$this->_plugdir]['adminLinks']['link'][0]['@attributes'];
$link = varset($this->_data[$this->_plugdir]['adminLinks']['link'][0]['@attributes']);
$k = array(16 => 'iconSmall', 24 => 'icon', 32 => 'icon', 128=>'icon128');
$def = array(16 => E_16_PLUGIN, 24 => E_24_PLUGIN, 32 => E_32_PLUGIN);