Merge branch 'ent-11737-sale-mensaje-php-update-required-solo-en-ubuntu' into 'develop'

Ent 11737 sale mensaje php update required solo en ubuntu

See merge request artica/pandorafms!6255
This commit is contained in:
Rafael Ameijeiras 2023-07-18 07:55:42 +00:00
commit 36d9f6bb37
1 changed files with 2 additions and 1 deletions

View File

@ -1807,7 +1807,8 @@ class ConsoleSupervisor
$this->cleanNotifications('NOTIF.PHP.SERIALIZE_PRECISION');
}
if (version_compare('8.1', PHP_VERSION) >= 0) {
// If PHP_VERSION is lower than 8.0.27 version_compare() returns 1.
if (version_compare('8.0.27', PHP_VERSION) === 1) {
$url = 'https://www.php.net/supported-versions.php';
$this->notify(
[