mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
fix comparision of versions
This commit is contained in:
parent
a424268514
commit
b11aed0d18
|
@ -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();
|
||||
} /* }}} */
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user