more spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
a0e5f7a59a
commit
3220234693
1 changed files with 4 additions and 2 deletions
|
@ -1373,8 +1373,10 @@ function conv_sort($arr, $order) {
|
||||||
$children = array();
|
$children = array();
|
||||||
$newarr = array();
|
$newarr = array();
|
||||||
|
|
||||||
// This is a preparation for having two different items with the same uri in one thread
|
/*
|
||||||
// This will otherwise lead to an endless loop.
|
* This is a preparation for having two different items with the same uri in one thread
|
||||||
|
* This will otherwise lead to an endless loop.
|
||||||
|
*/
|
||||||
foreach ($arr as $x) {
|
foreach ($arr as $x) {
|
||||||
if (!isset($newarr[$x['uri']])) {
|
if (!isset($newarr[$x['uri']])) {
|
||||||
$newarr[$x['uri']] = $x;
|
$newarr[$x['uri']] = $x;
|
||||||
|
|
Loading…
Reference in a new issue