mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
XML format conversion utilities: no version means '1.0'
SVN:trunk[3414]
This commit is contained in:
@@ -163,6 +163,11 @@ class iTopDesignFormat
|
||||
else
|
||||
{
|
||||
$sVersion = $oNodeList->item(0)->getAttribute('version');
|
||||
if ($sVersion == '')
|
||||
{
|
||||
// Originaly, the information was missing: default to 1.0
|
||||
$sVersion = '1.0';
|
||||
}
|
||||
$this->LogInfo("Converting from $sVersion to $sTargetVersion");
|
||||
$this->DoConvert($sVersion, $sTargetVersion, $oFactory);
|
||||
if ($this->bStatus)
|
||||
|
||||
Reference in New Issue
Block a user