XML format conversion utilities: no version means '1.0'

SVN:trunk[3414]
This commit is contained in:
Romain Quetiez
2014-11-06 15:51:08 +00:00
parent 8922c435b4
commit 1d0bfa7c92

View File

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