MDL-81084 core: Correct | to ||

This commit is contained in:
Andrew Nicols
2024-04-05 07:02:35 +08:00
parent 5949ac50f6
commit 91cacf6319
+1 -1
View File
@@ -904,7 +904,7 @@ class plugin_manager {
$reqs->hasver = $otherplugin->versiondisk;
$reqs->reqver = $requiredversion;
// Check it has sufficient version.
if ($requiredversion == ANY_VERSION | $otherplugin->versiondisk >= $requiredversion) {
if ($requiredversion == ANY_VERSION || $otherplugin->versiondisk >= $requiredversion) {
$reqs->status = self::REQUIREMENT_STATUS_OK;
} else {
$reqs->status = self::REQUIREMENT_STATUS_OUTDATED;