mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +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')
|
if($availversion[0] == 'stable')
|
||||||
$newversion = $availversion[1];
|
$newversion = $availversion[1];
|
||||||
}
|
}
|
||||||
if($newversion > $version->_number) {
|
if($newversion > $version->version()) {
|
||||||
$this->warningMsg(getMLText('no_current_version', array('latestversion'=>$newversion)));
|
$this->warningMsg(getMLText('no_current_version', array('latestversion'=>$newversion)));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -63,4 +63,3 @@ class SeedDMS_View_Info extends SeedDMS_Bootstrap_Style {
|
||||||
$this->htmlEndPage();
|
$this->htmlEndPage();
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user