1
0
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:
Cameron
2021-01-25 09:14:45 -08:00
parent c045f2874c
commit 748e5ee11d
3 changed files with 13 additions and 8 deletions

View File

@@ -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))