1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Fix for PHP Notice Undefined index: sub, Line 1456 of /e107_handlers/sitelinks_class.php

This commit is contained in:
Lóna Lore
2017-12-10 11:40:41 +01:00
parent b800904933
commit bb28fca4ce

View File

@@ -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[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']))
{