Author: Andreas Möller (localheinz)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2024-02-12T20:12:56+03:00

Commit: 
https://github.com/php/web-php/commit/026b50992312e79ea91efcb30750aebcb908e76e
Raw diff: 
https://github.com/php/web-php/commit/026b50992312e79ea91efcb30750aebcb908e76e.diff

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

Changed paths:
  M  include/version.inc


Diff:

diff --git a/include/version.inc b/include/version.inc
index 99abbaf88a..61b3159296 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -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) {

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to