1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Fix: Do not pass null to function that expects string (#901)

This commit is contained in:
Andreas Möller
2024-02-12 18:12:56 +01:00
committed by GitHub
parent bdd0a1cef8
commit 026b509923

View File

@@ -82,7 +82,7 @@ $RELEASES = (function () {
function release_get_latest() {
global $RELEASES;
$version = null;
$version = '0.0.0';
$current = null;
foreach ($RELEASES as $versions) {
foreach ($versions as $ver => $info) {