forked from ZwiiCMS-Team/ZwiiCampus
1.4.17 Opérateur booléen nouvelle version sans le type
This commit is contained in:
parent
fbbf671289
commit
e2316dc129
@ -368,7 +368,7 @@ class helper
|
|||||||
$version = helper::getOnlineVersion($channel);
|
$version = helper::getOnlineVersion($channel);
|
||||||
$update = false;
|
$update = false;
|
||||||
if (!empty($version)) {
|
if (!empty($version)) {
|
||||||
$update = version_compare(common::ZWII_VERSION, $version) === -1;
|
$update = version_compare(common::ZWII_VERSION, $version) == -1;
|
||||||
}
|
}
|
||||||
return $update;
|
return $update;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user