[web-php] master: Fix: Do not pass null to function that expects string (#901)

From: Date: Mon, 12 Feb 2024 17:26:47 +0000
Subject: [web-php] master: Fix: Do not pass null to function that expects string (#901)
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-31428@lists.php.net to get a copy of this message
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) {

« previous php.webmaster (#31428) next »