When using piwigo docker 16.3.0a, a prompt for updating to piwigo 16.2.0b appear due to the update script not accounting for the latest version reported by piwigo.org being lower than the current version.
// This is the same as check for != 0 or non equal
if($this->container_version_compare($build_version,$last_version)){// Prompt for update
}
To prevent issue like this in the future, only consider updating when the latest version is higher than the locally reported version.
When using piwigo docker 16.3.0a, a prompt for updating to piwigo 16.2.0b appear due to the update script not accounting for the latest version reported by piwigo.org being lower than the current version.
```php
// This is the same as check for != 0 or non equal
if ($this->container_version_compare($build_version, $last_version))
{
// Prompt for update
}
```
To prevent issue like this in the future, only consider updating when the latest version is higher than the locally reported version.
<!-- github-sync-id:4082056064 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When using piwigo docker 16.3.0a, a prompt for updating to piwigo 16.2.0b appear due to the update script not accounting for the latest version reported by piwigo.org being lower than the current version.
To prevent issue like this in the future, only consider updating when the latest version is higher than the locally reported version.
related to https://piwigo.org/forum/viewtopic.php?id=34765