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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user