mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Issue #3902 PHP Notice and Error fixes.
This commit is contained in:
@@ -1605,7 +1605,12 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
|
||||
{
|
||||
foreach($tmp as $val)
|
||||
{
|
||||
$tmp2 = (array) $val['link_sub'];
|
||||
if(!is_array($val))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$tmp2 = $val['link_sub'];
|
||||
unset($val['link_sub']);
|
||||
$newArr[] = $val;
|
||||
if(!empty($tmp2))
|
||||
|
Reference in New Issue
Block a user