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

PHP 7.3 Notice/Warning Fixes.

This commit is contained in:
Cameron
2019-05-27 10:45:35 -07:00
parent eb6401385e
commit 783be29953
10 changed files with 42 additions and 26 deletions

View File

@@ -301,10 +301,12 @@ if (!function_exists('asortbyindex'))
}
asort ($sort_values);
reset ($sort_values);
while (list ($arr_key, $arr_val) = each ($sort_values))
foreach($sort_values as $arr_key =>$arr_val)
{
$sorted_arr[] = $array[$arr_key];
}
return $sorted_arr;
}
}