mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Fix for PHP Notice Undefined index: sub, Line 1456 of /e107_handlers/sitelinks_class.php
This commit is contained in:
@@ -1453,7 +1453,7 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
|
|||||||
$replace[9] = varset($e107_vars[$act]['image']);
|
$replace[9] = varset($e107_vars[$act]['image']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$replace[10] = count($e107_vars[$act]['sub']) > 20 ? 'oversized' : '';
|
$replace[10] = (isset($e107_vars[$act]['sub']) && count($e107_vars[$act]['sub']) > 20) ? 'oversized' : '';
|
||||||
|
|
||||||
if(!empty($e107_vars[$act]['link_data']))
|
if(!empty($e107_vars[$act]['link_data']))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user