N°1134 - Bad version number when MTP

* The order of the installed versions is changed when doing MTP.

SVN:trunk[5073]
This commit is contained in:
Eric Espié
2017-10-24 08:03:26 +00:00
parent a816a6ff8d
commit 2f48b2e302

View File

@@ -898,7 +898,7 @@ class RunTimeEnvironment
public function GetCurrentDataModelVersion()
{
$oSearch = DBObjectSearch::FromOQL("SELECT ModuleInstallation WHERE name='".DATAMODEL_MODULE."'");
$oSet = new DBObjectSet($oSearch, array(), array('installed' => false));
$oSet = new DBObjectSet($oSearch, array('installed' => false));
$oLatestDM = $oSet->Fetch();
if ($oLatestDM == null)
{