Skip to content

Commit 026b509

Browse files
authored
Fix: Do not pass null to function that expects string (#901)
1 parent bdd0a1c commit 026b509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/version.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ $RELEASES = (function () {
8282
function release_get_latest() {
8383
global $RELEASES;
8484

85-
$version = null;
85+
$version = '0.0.0';
8686
$current = null;
8787
foreach ($RELEASES as $versions) {
8888
foreach ($versions as $ver => $info) {

0 commit comments

Comments
 (0)