fix comparision of versions

This commit is contained in:
Uwe Steinmann 2020-02-28 09:47:23 +01:00
parent a424268514
commit b11aed0d18

View File

@ -47,7 +47,7 @@ class SeedDMS_View_Info extends SeedDMS_Bootstrap_Style {
if($availversion[0] == 'stable')
$newversion = $availversion[1];
}
if($newversion > $version->_number) {
if($newversion > $version->version()) {
$this->warningMsg(getMLText('no_current_version', array('latestversion'=>$newversion)));
}
} else {
@ -63,4 +63,3 @@ class SeedDMS_View_Info extends SeedDMS_Bootstrap_Style {
$this->htmlEndPage();
} /* }}} */
}
?>