mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 01:28:47 +02:00
XML Datamodel: new format (fixed issue seen with some versions of PHP)
SVN:trunk[2346]
This commit is contained in:
@@ -1409,7 +1409,7 @@ class MFElement extends DOMElement
|
||||
}
|
||||
else
|
||||
{
|
||||
$aRanks[] = max($aRanks) + 1;
|
||||
$aRanks[] = count($aRanks) > 0 ? max($aRanks) + 1 : 0;
|
||||
}
|
||||
array_multisort($aRanks, $res);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user