[web-php] PR #901: Fix: Do not pass `null` to function that expects `string`
| From: | localheinz | Date: | Fri, 15 Dec 2023 13:08:11 +0000 |
| Subject: | [web-php] PR #901: Fix: Do not pass `null` to function that expects `string` | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-31291@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/web-php/pull/901
Author: localheinz
This pull request
- [x] stops passing
null to function that expects string
Spotted in #900.
💁♂️ In the first iteration of the inner foreach-loop, $version
is null:
https://github.com/php/web-php/blob/e1c61689ade5ce4264e575a0a80fe03d349d670a/include/version.inc#L85-L89