Skip to content

Commit ce5d194

Browse files
Update include/download-instructions/windows-downloads.php
Co-authored-by: Shivam Mathur <shivam_jpr@hotmail.com>
1 parent d4a7001 commit ce5d194

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/download-instructions/windows-downloads.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$baseDownloads = 'https://downloads.php.net/~windows/releases/';
33

44
$dataStr = @file_get_contents(__DIR__ . '/win-releases.json');
5-
$releases = $dataStr ? json_decode($dataStr ?? $json, true) : null;
5+
$releases = $dataStr ? json_decode($dataStr, true) : null;
66

77
if (!is_array($releases)) {
88
echo '<p>Windows release index is temporarily unavailable.</p>';

0 commit comments

Comments
 (0)