mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
better check if upper limit of version is set
This commit is contained in:
parent
11ea03560e
commit
e3f563c3e7
|
@ -433,7 +433,7 @@ class SeedDMS_Extension_Mgr {
|
|||
$fullfill = false;
|
||||
foreach($dval as $ddval) {
|
||||
$tmp = explode('-', $ddval, 2);
|
||||
if(self::cmpVersion($tmp[0], $version->version()) > 0 || ($tmp[1] && self::cmpVersion($tmp[1], $version->version()) < 0))
|
||||
if(self::cmpVersion($tmp[0], $version->version()) > 0 || (!empty($tmp[1]) && self::cmpVersion($tmp[1], $version->version()) < 0))
|
||||
; // No within version range
|
||||
else
|
||||
$fullfill = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user